﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using LibHuman;

namespace Human
{
    public class frmcnheso : System.Windows.Forms.Form
    {

        #region Các control
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label21;
        private System.Windows.Forms.Label label22;
        private System.Windows.Forms.Label label23;
        private System.Windows.Forms.TextBox txtpc_mltt;
        private System.Windows.Forms.TextBox txtpc_bhxh;
        private System.Windows.Forms.TextBox txtpc_bhyt;
        private System.Windows.Forms.TextBox txtpc_kpcd;
        private System.Windows.Forms.TextBox txtpc_hsom;
        private System.Windows.Forms.TextBox txtpc_ngaylvqd;
        private System.Windows.Forms.ErrorProvider InputError;
        private System.Windows.Forms.Label label28;
        private System.Windows.Forms.Label label29;
        private System.Windows.Forms.Label label33;
        private System.Windows.Forms.Label label37;
        private System.Windows.Forms.ToolTip toolTip1;
        private System.Windows.Forms.Label label47;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.TextBox txtpc_ngnthuong;
        private System.Windows.Forms.TextBox txtpc_ngnchunhat;
        private System.Windows.Forms.TextBox txtpc_hs1;
        private System.Windows.Forms.TextBox txtpc_hs2;
        private System.Windows.Forms.TextBox txtpc_hs3;
        private System.Windows.Forms.TextBox txtpc_hs4;
        private System.Windows.Forms.TextBox txtpc_ngnle;
        private System.Windows.Forms.TextBox txtpc_stc;
        private System.Windows.Forms.TextBox txtpc_stb;
        private System.Windows.Forms.TextBox txtpc_sta;
        private System.Windows.Forms.TextBox txtpc_hsb;
        private System.Windows.Forms.TextBox txtpc_hsa;
        private System.Windows.Forms.TextBox txtpc_ttcn;
        private System.Windows.Forms.TextBox txtpc_ttthuong;
        private System.Windows.Forms.TextBox txtpc_ttle;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.TextBox txtpc_hsc;
        private System.Windows.Forms.Label label25;
        private System.Windows.Forms.TextBox txtpc_hsle;
        private System.Windows.Forms.TextBox txtpc_hscn;
        private System.Windows.Forms.TextBox txtpc_hsthuong;
        private System.Windows.Forms.Label label27;
        private System.Windows.Forms.Label label30;
        private System.ComponentModel.IContainer components;
        private TabControl tabControl1;
        private TabPage tabpc;
        private Label label26;
        private Label label24;
        private Label label20;
        private TextBox txtdb_p2;
        private Label label31;
        private TextBox txtdb_p1;
        private Label label32;
        private Label label34;
        private TextBox txtdb_c;
        private Label label35;
        private TextBox txtl1_p2;
        private Label label36;
        private TextBox txtl1_p1;
        private Label label38;
        private Label label39;
        private TextBox txtl1_c;
        private Label label40;
        private TextBox txtl3_p2;
        private Label label41;
        private TextBox txtl3_p1;
        private Label label42;
        private Label label43;
        private TextBox txtl3_c;
        private Label label44;
        private TextBox txtl2_p2;
        private Label label45;
        private TextBox txtl2_p1;
        private Label label46;
        private Label label48;
        private TextBox txtl2_c;
        private Label label49;
        private ToolStrip toolStrip3;
        private ToolStripButton toolStripButton4;
        private ToolStripLabel toolStripLabel3;
        private DataGridView dataGridView1;
        private RadioButton radpt_tthuat;
        private RadioButton radpt_pthuat;
        private ComboBox cbopt_loaipt;
        private Label label52;
        private Button btnpt_xoa;
        private Button btnpt_boqua;
        private Button btnpt_luu;
        private Button btnpt_sua;
        private Button btnpt_them;
        private Label label53;
        private Label label54;
        private Label label55;
        private Label label56;
        private Label label57;
        private MaskedTextBox txtpt_ktvgm;
        private MaskedTextBox txtpt_bsgm;
        private MaskedTextBox txtpt_phu2;
        private MaskedTextBox txtpt_phu1;
        private MaskedTextBox txtpt_ptvchinh;
        private MaskedTextBox txtloai;
        private TabPage tabpt;
        private MaskedTextBox txtpt_dungcu;
        private MaskedTextBox txtpt_giupviec;
        private Label label73;
        private Label label72;
        private DataGridViewTextBoxColumn Column1;
        private DataGridViewTextBoxColumn loai;
        private DataGridViewTextBoxColumn cl_ptv;
        private DataGridViewTextBoxColumn cl_bsgm;
        private DataGridViewTextBoxColumn cl_ktvgm;
        private DataGridViewTextBoxColumn cl_phu1;
        private DataGridViewTextBoxColumn cl_phu2;
        private DataGridViewTextBoxColumn cl_giupviec;
        private DataGridViewTextBoxColumn cl_dungcu;
        private DataGridViewTextBoxColumn pttt;
        private DataGridViewTextBoxColumn Column7;
        private DataGridViewTextBoxColumn Column9;
        private TextBox txtpc_bhtn;
        private Label label74;
        private Label label75;
        private TextBox txtpc_hstkiem;
        private GroupBox groupBox2;
        private Label label14;
        private Label label15;
        private Label label13;
        private GroupBox groupBox3;
        private Panel panel4;
        private Panel panel3;
        private Panel panel2;
        private GroupBox gpBPTTT;
        private TextBox txtpc_mlphucap;
        private Label label16;
        private TextBox txtpc_ngdle;
        private TextBox txtpc_ngdchunhat;
        private TextBox txtpc_ngdthuong;
        private Label label64;
        private Label label63;
        private Label label62;
        private TabPage tabbh;
        private RadioButton rad_bhtn;
        private RadioButton rad_bhyt;
        private RadioButton rad_bhxh;
        private Label label9;
        private Button btn_luubh;
        private ComboBox cbo_hopdong;
        private GroupBox groupBox4;
        private CheckBox chk_luongkhoan;
        private CheckedListBox chkl_heso;
        private Label label65;
        private ComboBox cbo_loaihd;
        private CheckBox chk_hstn;
        private CheckBox chk_hsvk;
        private CheckBox chk_hskv;
        private CheckBox chk_hslg;
        private CheckBox chk_hscv;
        private CheckBox chk_hsdh;
        private Button btn_boquabh;
        private RadioButton rad_kpcd;
        private TabPage tabc;
        private CheckBox chk_cctructc;
        private CheckBox chk_nhapmacc;
        private CheckBox chk_cccuoituan;
        private ComboBox cbo_matt;
        private CheckBox chk_dgkqcc;
        private TextBox txt_website;
        private TextBox txt_fax;
        private TextBox txt_dienthoai;
        private Label label77;
        private Label label78;
        private Label label79;
        private Label label80;
        private TextBox txt_kttruong;
        private TextBox txt_giamdoccty;
        private Label label81;
        private Label label82;
        private Label label83;
        private TextBox txt_tptochuc;
        private TextBox txt_giamdoc;
        private TextBox txt_xephang;
        private TextBox txt_diachi;
        private Label label85;
        private Label label88;
        private CheckBox chk_ATM;
        private ComboBox cbo_benhvien;
        private Label label89;
        private Label label90;
        private Label label91;
        private TextBox txt_soyte;
        private TextBox txt_mltt;
        private Label label92;
        private CheckBox chk_Vantay;
        private ComboBox cbo_maqu;
        private Label label93;
        private Label label94;
        private Label label76;
        private DateTimePicker dtp_gioccchieu;
        private Label label84;
        private TextBox txt_lanccvt;
        private Label label87;
        private CheckBox chk_ccthuongquy;
        private CheckBox chk_thcctudong;
        private CheckBox chk_khoadl;
        private Button btnc_luu;
        private Button btnc_boqua;
        private Button btnc_sua;
        private Button btnc_thoat;
        private Button btnpc_thoat;
        private Button btnpc_boqua;
        private Button btnpc_sua;
        private Button btnpc_luu;
        private TextBox txt_sohieutkvn;
        private Label label96;
        private Label label97;
        private Label label98;
        private Label label99;
        private TextBox txt_sodkt;
        private TextBox txt_noimtk;
        private TextBox txt_msthue;
        private Label label95;
        private Label label86;
        private TextBox txtpc_sbhyt;
        private TextBox txtpc_sbhtn;
        private Label label102;
        private Label label101;
        private Label label100;
        private TextBox txtpc_sbhxh;
        private Label label103;
        private Label label104;
        private Label label105;
        private TextBox txtpc_luongdh;
        private TextBox txtpc_luongtv;
        private Label label106;
        private Label label110;
        private Label label109;
        private Label label108;
        private Label label107;
        private TextBox txtpc_snlvthucte;
        private Label label111;
        private Label label112;
        private CheckBox chk_ngachdn;
        private Label label116;
        private Label label115;
        private Label label114;
        private Label label113;
        private CheckBox chk_hsud2;
        private CheckBox chk_hstn2;
        private CheckBox chk_hsdh2;
        private CheckBox chk_hskv2;
        private CheckBox chk_hsth2;
        private CheckBox chk_hscv2;
        private CheckBox chk_hsud1;
        private CheckBox chk_hstn1;
        private CheckBox chk_hsdh1;
        private CheckBox chk_hskv1;
        private CheckBox chk_hsth1;
        private CheckBox chk_hscv1;
        private Label label121;
        private Label label119;
        private Label label117;
        private Label label120;
        private Label label118;
        private CheckBox chk_pctx2;
        private CheckBox chk_hsdb2;
        private CheckBox chk_pckh2;
        private CheckBox chk_pcta2;
        private CheckBox chk_hsld2;
        private CheckBox chk_pctx1;
        private CheckBox chk_hsdb1;
        private CheckBox chk_pckh1;
        private CheckBox chk_pcta1;
        private CheckBox chk_hsld1;
        private Label label130;
        private Label label129;
        private Label label128;
        private Label label126;
        private Label label125;
        private Label label124;
        private Label label123;
        private Label label122;
        private CheckBox chk_hsud3;
        private CheckBox chk_hstn3;
        private CheckBox chk_hsdh3;
        private CheckBox chk_hskv3;
        private CheckBox chk_hsth3;
        private CheckBox chk_hscv3;
        private Label label127;
        private CheckBox chk_pctx3;
        private CheckBox chk_hsdb3;
        private CheckBox chk_pckh3;
        private CheckBox chk_pcta3;
        private CheckBox chk_hsld3;
        private Label label131;
        private Button btnpt_thoat;
        #endregion
        private AccessData mDB = new AccessData();
        Language lan = new Language();
        DataTable dt = new DataTable();
        DataSet ds = new DataSet();
        DataSet ds_ts = new DataSet();
        DataTable dt_abc = new DataTable();
        DataSet ds_hs = new DataSet();
        DataSet ds_pt = new DataSet();
        DataSet ds_bh = new DataSet();
        string sql = "", s_mmyy = "", p_mmyy = "",user="";
        public string thang, nam, thang_1, nam_1;
        private Label label51;
        private Label label50;
        private TextBox txt_thangtaodlp;
        private CheckBox chk_phepthem2;
        private CheckBox chk_phepthem1;
        private Label label58;
        private TextBox txt_pctq_lt;
        private TextBox txt_pctq_cn;
        private TextBox txt_pctq_nt;
        private Label label60;
        private Label label61;
        private Label label134;
        private Label label135;
        private TextBox txt_pctc_cn;
        private Label label59;
        private Label label136;
        private TextBox txt_pctc_thuong;
        private TextBox txt_pctc_lt;
        private Label label137;
        private Label label138;
        private TextBox txt_pctc_hslt;
        private Label label139;
        private Label label140;
        private TextBox txt_pctc_hscn;
        private TextBox txt_pctc_hsthuong;
        private TextBox txt_pctienan;
        private Label label141;
        private CheckBox chk_abcst;
        private CheckBox chk_abchs;
        private Label lbl_abchs3;
        private Label lbl_abchs2;
        private Label lbl_abchs;
        private CheckBox chk_luonghd;
        private TextBox txt_ktd;
        private TextBox txt_ktn;
        private TextBox txt_bdd;
        private TextBox txt_bdn;
        private Label label145;
        private Label label144;
        private Label label143;
        private Label label142;
        private Label label133;
        private Label label132;
        private Button btnbh_thoat;
        private Button btnbh_sua;
        private GroupBox gr_hsbh;
        private GroupBox gr_tylettn;
        private Button btn_ttnboqua;
        private Button btn_ttnluu;
        private Button btn_ttnxoa;
        private Button btn_ttnsua;
        private Button btn_ttnthem;
        private Label label148;
        private Label label147;
        private TextBox txt_ttntyle;
        private Label label146;
        private TextBox txt_ttnden;
        private DataGridView dgrv_tylettn;
        private TextBox txt_ttntu;
        private TextBox txt_ttnid;
        private Button btn_tbhboqua;
        private Button btn_tbhsua;
        private DataGridViewTextBoxColumn ttn_tu;
        private DataGridViewTextBoxColumn ttn_den;
        private DataGridViewTextBoxColumn ttn_tyle;
        private CheckBox chk_luongsp;
        private Label label149;
        private CheckBox chk_hdbantg;
        private Label label150;
        private Label label151;
        private Label label152;
        private Label label153;
        private Label label154;
        private TextBox txt_tacatruc;
        private Label label155;
        private Label label157;
        private Label label156;
        private CheckBox chk_pctdt2;
        private CheckBox chk_pctdt3;
        private CheckBox chk_hsvk3;
        private CheckBox chk_hsvk2;
        private CheckBox chk_pctdt1;
        private CheckBox chk_hsvk1;
        private Label label159;
        private Label label158;
        private CheckBox chk_pcdt2;
        private CheckBox chk_pcdt3;
        private CheckBox chk_pcdt1;
        private Label label160;
        private CheckBox chk_sdtgsomtre;
        private CheckBox chk_cctc_taikhoatc;
        private CheckBox chk_sd_ccngayt7;
        private CheckBox chk_tchs;
        private CheckBox chk_tcst;
        private CheckBox chk_tqst;
        private CheckBox chk_ngst;
        private CheckBox chk_ttst;
        private CheckBox chk_tqhs;
        private CheckBox chk_nghs;
        private CheckBox chk_tths;
        private CheckBox chk_abc_sdst;
        private TextBox txt_stpc_abc;
        private Label label161;
        private Label lbl_stabc;
        private Label lbl_ngdlt;
        private Label lbl_ngdcn;
        private Label lbl_ngdt;
        private Label lbl_nglt;
        private Label lbl_ngcn;
        private Label lbl_ngnt;
        private CheckBox chk_ccngaycn;
        private TextBox txt_tnthcc;
        private Label label66;
        private Label label67;
        private TextBox txt_dnthcc;

        public bool admin = false;
        public frmcnheso(string thang1, string nam1, bool _admin)
        {
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            thang = thang1;
            nam = nam1;
            admin = _admin;
            s_mmyy = thang1.PadLeft(2, '0') + nam1.Substring(2, 2);
            chk_khoadl.Text = "Khóa dữ liệu tháng " + s_mmyy + "";                       
            if (Screen.PrimaryScreen.WorkingArea.Width >= 1000)//
            {
                this.WindowState = FormWindowState.Normal;
                this.MaximizeBox = false;
            }
            else
            {
                this.WindowState = FormWindowState.Maximized;
            }
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmcnheso));
            this.txtpc_mltt = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtpc_bhxh = new System.Windows.Forms.TextBox();
            this.txtpc_bhyt = new System.Windows.Forms.TextBox();
            this.txtpc_kpcd = new System.Windows.Forms.TextBox();
            this.txtpc_hsom = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtpc_ngnthuong = new System.Windows.Forms.TextBox();
            this.txtpc_ngnchunhat = new System.Windows.Forms.TextBox();
            this.txtpc_ngaylvqd = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label21 = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.label23 = new System.Windows.Forms.Label();
            this.txtpc_hs1 = new System.Windows.Forms.TextBox();
            this.txtpc_hs2 = new System.Windows.Forms.TextBox();
            this.txtpc_hs3 = new System.Windows.Forms.TextBox();
            this.InputError = new System.Windows.Forms.ErrorProvider(this.components);
            this.btn_boquabh = new System.Windows.Forms.Button();
            this.label28 = new System.Windows.Forms.Label();
            this.txtpc_hs4 = new System.Windows.Forms.TextBox();
            this.label29 = new System.Windows.Forms.Label();
            this.label33 = new System.Windows.Forms.Label();
            this.label37 = new System.Windows.Forms.Label();
            this.txtpc_ngnle = new System.Windows.Forms.TextBox();
            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
            this.label47 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.label138 = new System.Windows.Forms.Label();
            this.chk_sd_ccngayt7 = new System.Windows.Forms.CheckBox();
            this.txtpc_stc = new System.Windows.Forms.TextBox();
            this.txtpc_stb = new System.Windows.Forms.TextBox();
            this.txtpc_sta = new System.Windows.Forms.TextBox();
            this.txtpc_ttcn = new System.Windows.Forms.TextBox();
            this.txtpc_ttthuong = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txtpc_hsb = new System.Windows.Forms.TextBox();
            this.txtpc_hsa = new System.Windows.Forms.TextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.txtpc_ttle = new System.Windows.Forms.TextBox();
            this.label19 = new System.Windows.Forms.Label();
            this.txtpc_hsc = new System.Windows.Forms.TextBox();
            this.label25 = new System.Windows.Forms.Label();
            this.txtpc_hsle = new System.Windows.Forms.TextBox();
            this.txtpc_hscn = new System.Windows.Forms.TextBox();
            this.txtpc_hsthuong = new System.Windows.Forms.TextBox();
            this.label27 = new System.Windows.Forms.Label();
            this.label30 = new System.Windows.Forms.Label();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabc = new System.Windows.Forms.TabPage();
            this.txt_dnthcc = new System.Windows.Forms.TextBox();
            this.txt_tnthcc = new System.Windows.Forms.TextBox();
            this.chk_ccngaycn = new System.Windows.Forms.CheckBox();
            this.chk_cctc_taikhoatc = new System.Windows.Forms.CheckBox();
            this.chk_sdtgsomtre = new System.Windows.Forms.CheckBox();
            this.label157 = new System.Windows.Forms.Label();
            this.label156 = new System.Windows.Forms.Label();
            this.label151 = new System.Windows.Forms.Label();
            this.label152 = new System.Windows.Forms.Label();
            this.label153 = new System.Windows.Forms.Label();
            this.label154 = new System.Windows.Forms.Label();
            this.chk_hdbantg = new System.Windows.Forms.CheckBox();
            this.chk_luongsp = new System.Windows.Forms.CheckBox();
            this.chk_luonghd = new System.Windows.Forms.CheckBox();
            this.txt_tacatruc = new System.Windows.Forms.TextBox();
            this.txt_pctienan = new System.Windows.Forms.TextBox();
            this.chk_hsud3 = new System.Windows.Forms.CheckBox();
            this.chk_hsud2 = new System.Windows.Forms.CheckBox();
            this.chk_pctdt2 = new System.Windows.Forms.CheckBox();
            this.chk_pctx2 = new System.Windows.Forms.CheckBox();
            this.chk_pctdt3 = new System.Windows.Forms.CheckBox();
            this.chk_pctx3 = new System.Windows.Forms.CheckBox();
            this.chk_hstn3 = new System.Windows.Forms.CheckBox();
            this.chk_hstn2 = new System.Windows.Forms.CheckBox();
            this.chk_pcdt2 = new System.Windows.Forms.CheckBox();
            this.chk_hsdb2 = new System.Windows.Forms.CheckBox();
            this.chk_pcdt3 = new System.Windows.Forms.CheckBox();
            this.chk_hsdb3 = new System.Windows.Forms.CheckBox();
            this.chk_hsdh3 = new System.Windows.Forms.CheckBox();
            this.chk_hsdh2 = new System.Windows.Forms.CheckBox();
            this.chk_pckh2 = new System.Windows.Forms.CheckBox();
            this.chk_pckh3 = new System.Windows.Forms.CheckBox();
            this.chk_hskv3 = new System.Windows.Forms.CheckBox();
            this.chk_hskv2 = new System.Windows.Forms.CheckBox();
            this.chk_pcta2 = new System.Windows.Forms.CheckBox();
            this.chk_pcta3 = new System.Windows.Forms.CheckBox();
            this.chk_hsth3 = new System.Windows.Forms.CheckBox();
            this.chk_hsth2 = new System.Windows.Forms.CheckBox();
            this.chk_hsld2 = new System.Windows.Forms.CheckBox();
            this.chk_hsld3 = new System.Windows.Forms.CheckBox();
            this.chk_hsvk3 = new System.Windows.Forms.CheckBox();
            this.chk_hscv3 = new System.Windows.Forms.CheckBox();
            this.chk_hsvk2 = new System.Windows.Forms.CheckBox();
            this.chk_hscv2 = new System.Windows.Forms.CheckBox();
            this.chk_hsud1 = new System.Windows.Forms.CheckBox();
            this.chk_pctdt1 = new System.Windows.Forms.CheckBox();
            this.chk_pctx1 = new System.Windows.Forms.CheckBox();
            this.chk_hstn1 = new System.Windows.Forms.CheckBox();
            this.chk_pcdt1 = new System.Windows.Forms.CheckBox();
            this.chk_hsdb1 = new System.Windows.Forms.CheckBox();
            this.chk_hsdh1 = new System.Windows.Forms.CheckBox();
            this.chk_pckh1 = new System.Windows.Forms.CheckBox();
            this.chk_hskv1 = new System.Windows.Forms.CheckBox();
            this.chk_pcta1 = new System.Windows.Forms.CheckBox();
            this.chk_hsth1 = new System.Windows.Forms.CheckBox();
            this.chk_hsld1 = new System.Windows.Forms.CheckBox();
            this.chk_hsvk1 = new System.Windows.Forms.CheckBox();
            this.chk_hscv1 = new System.Windows.Forms.CheckBox();
            this.label130 = new System.Windows.Forms.Label();
            this.label131 = new System.Windows.Forms.Label();
            this.label127 = new System.Windows.Forms.Label();
            this.label116 = new System.Windows.Forms.Label();
            this.label129 = new System.Windows.Forms.Label();
            this.label115 = new System.Windows.Forms.Label();
            this.label128 = new System.Windows.Forms.Label();
            this.label114 = new System.Windows.Forms.Label();
            this.chk_ngachdn = new System.Windows.Forms.CheckBox();
            this.label112 = new System.Windows.Forms.Label();
            this.txt_sohieutkvn = new System.Windows.Forms.TextBox();
            this.label96 = new System.Windows.Forms.Label();
            this.label97 = new System.Windows.Forms.Label();
            this.label98 = new System.Windows.Forms.Label();
            this.label99 = new System.Windows.Forms.Label();
            this.btnc_thoat = new System.Windows.Forms.Button();
            this.btnc_boqua = new System.Windows.Forms.Button();
            this.btnc_sua = new System.Windows.Forms.Button();
            this.btnc_luu = new System.Windows.Forms.Button();
            this.dtp_gioccchieu = new System.Windows.Forms.DateTimePicker();
            this.label84 = new System.Windows.Forms.Label();
            this.label76 = new System.Windows.Forms.Label();
            this.chk_ccthuongquy = new System.Windows.Forms.CheckBox();
            this.chk_cctructc = new System.Windows.Forms.CheckBox();
            this.chk_nhapmacc = new System.Windows.Forms.CheckBox();
            this.chk_cccuoituan = new System.Windows.Forms.CheckBox();
            this.cbo_matt = new System.Windows.Forms.ComboBox();
            this.chk_dgkqcc = new System.Windows.Forms.CheckBox();
            this.txt_website = new System.Windows.Forms.TextBox();
            this.txt_fax = new System.Windows.Forms.TextBox();
            this.txt_dienthoai = new System.Windows.Forms.TextBox();
            this.label159 = new System.Windows.Forms.Label();
            this.label126 = new System.Windows.Forms.Label();
            this.label121 = new System.Windows.Forms.Label();
            this.label160 = new System.Windows.Forms.Label();
            this.label125 = new System.Windows.Forms.Label();
            this.label119 = new System.Windows.Forms.Label();
            this.label155 = new System.Windows.Forms.Label();
            this.label141 = new System.Windows.Forms.Label();
            this.label150 = new System.Windows.Forms.Label();
            this.label149 = new System.Windows.Forms.Label();
            this.label124 = new System.Windows.Forms.Label();
            this.label117 = new System.Windows.Forms.Label();
            this.label123 = new System.Windows.Forms.Label();
            this.label120 = new System.Windows.Forms.Label();
            this.label122 = new System.Windows.Forms.Label();
            this.label118 = new System.Windows.Forms.Label();
            this.label158 = new System.Windows.Forms.Label();
            this.label113 = new System.Windows.Forms.Label();
            this.label77 = new System.Windows.Forms.Label();
            this.label78 = new System.Windows.Forms.Label();
            this.label79 = new System.Windows.Forms.Label();
            this.label80 = new System.Windows.Forms.Label();
            this.txt_thangtaodlp = new System.Windows.Forms.TextBox();
            this.txt_lanccvt = new System.Windows.Forms.TextBox();
            this.txt_kttruong = new System.Windows.Forms.TextBox();
            this.txt_giamdoccty = new System.Windows.Forms.TextBox();
            this.label81 = new System.Windows.Forms.Label();
            this.label82 = new System.Windows.Forms.Label();
            this.label83 = new System.Windows.Forms.Label();
            this.txt_tptochuc = new System.Windows.Forms.TextBox();
            this.txt_giamdoc = new System.Windows.Forms.TextBox();
            this.txt_msthue = new System.Windows.Forms.TextBox();
            this.txt_sodkt = new System.Windows.Forms.TextBox();
            this.txt_xephang = new System.Windows.Forms.TextBox();
            this.txt_noimtk = new System.Windows.Forms.TextBox();
            this.txt_diachi = new System.Windows.Forms.TextBox();
            this.label85 = new System.Windows.Forms.Label();
            this.label88 = new System.Windows.Forms.Label();
            this.chk_phepthem2 = new System.Windows.Forms.CheckBox();
            this.chk_phepthem1 = new System.Windows.Forms.CheckBox();
            this.chk_ATM = new System.Windows.Forms.CheckBox();
            this.cbo_benhvien = new System.Windows.Forms.ComboBox();
            this.label89 = new System.Windows.Forms.Label();
            this.label58 = new System.Windows.Forms.Label();
            this.label66 = new System.Windows.Forms.Label();
            this.label67 = new System.Windows.Forms.Label();
            this.label87 = new System.Windows.Forms.Label();
            this.label90 = new System.Windows.Forms.Label();
            this.label91 = new System.Windows.Forms.Label();
            this.txt_soyte = new System.Windows.Forms.TextBox();
            this.txt_mltt = new System.Windows.Forms.TextBox();
            this.label92 = new System.Windows.Forms.Label();
            this.chk_Vantay = new System.Windows.Forms.CheckBox();
            this.cbo_maqu = new System.Windows.Forms.ComboBox();
            this.chk_thcctudong = new System.Windows.Forms.CheckBox();
            this.chk_khoadl = new System.Windows.Forms.CheckBox();
            this.label93 = new System.Windows.Forms.Label();
            this.label94 = new System.Windows.Forms.Label();
            this.tabpc = new System.Windows.Forms.TabPage();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.lbl_ngdlt = new System.Windows.Forms.Label();
            this.lbl_ngdcn = new System.Windows.Forms.Label();
            this.lbl_ngdt = new System.Windows.Forms.Label();
            this.lbl_nglt = new System.Windows.Forms.Label();
            this.lbl_ngcn = new System.Windows.Forms.Label();
            this.lbl_ngnt = new System.Windows.Forms.Label();
            this.chk_abc_sdst = new System.Windows.Forms.CheckBox();
            this.txt_stpc_abc = new System.Windows.Forms.TextBox();
            this.chk_tqst = new System.Windows.Forms.CheckBox();
            this.chk_ngst = new System.Windows.Forms.CheckBox();
            this.chk_ttst = new System.Windows.Forms.CheckBox();
            this.chk_tqhs = new System.Windows.Forms.CheckBox();
            this.chk_nghs = new System.Windows.Forms.CheckBox();
            this.chk_tths = new System.Windows.Forms.CheckBox();
            this.chk_tcst = new System.Windows.Forms.CheckBox();
            this.chk_tchs = new System.Windows.Forms.CheckBox();
            this.txt_ktd = new System.Windows.Forms.TextBox();
            this.txt_ktn = new System.Windows.Forms.TextBox();
            this.txt_bdd = new System.Windows.Forms.TextBox();
            this.txt_bdn = new System.Windows.Forms.TextBox();
            this.label145 = new System.Windows.Forms.Label();
            this.label144 = new System.Windows.Forms.Label();
            this.label143 = new System.Windows.Forms.Label();
            this.label142 = new System.Windows.Forms.Label();
            this.label133 = new System.Windows.Forms.Label();
            this.label132 = new System.Windows.Forms.Label();
            this.lbl_abchs3 = new System.Windows.Forms.Label();
            this.lbl_abchs2 = new System.Windows.Forms.Label();
            this.lbl_stabc = new System.Windows.Forms.Label();
            this.lbl_abchs = new System.Windows.Forms.Label();
            this.chk_abcst = new System.Windows.Forms.CheckBox();
            this.chk_abchs = new System.Windows.Forms.CheckBox();
            this.txt_pctc_cn = new System.Windows.Forms.TextBox();
            this.label59 = new System.Windows.Forms.Label();
            this.label136 = new System.Windows.Forms.Label();
            this.txt_pctc_thuong = new System.Windows.Forms.TextBox();
            this.txt_pctc_lt = new System.Windows.Forms.TextBox();
            this.label137 = new System.Windows.Forms.Label();
            this.txt_pctc_hslt = new System.Windows.Forms.TextBox();
            this.label139 = new System.Windows.Forms.Label();
            this.label140 = new System.Windows.Forms.Label();
            this.txt_pctc_hscn = new System.Windows.Forms.TextBox();
            this.txt_pctc_hsthuong = new System.Windows.Forms.TextBox();
            this.txt_pctq_lt = new System.Windows.Forms.TextBox();
            this.txt_pctq_cn = new System.Windows.Forms.TextBox();
            this.txt_pctq_nt = new System.Windows.Forms.TextBox();
            this.label60 = new System.Windows.Forms.Label();
            this.label61 = new System.Windows.Forms.Label();
            this.label134 = new System.Windows.Forms.Label();
            this.label135 = new System.Windows.Forms.Label();
            this.txtpc_snlvthucte = new System.Windows.Forms.TextBox();
            this.label111 = new System.Windows.Forms.Label();
            this.label51 = new System.Windows.Forms.Label();
            this.label110 = new System.Windows.Forms.Label();
            this.label109 = new System.Windows.Forms.Label();
            this.label103 = new System.Windows.Forms.Label();
            this.label104 = new System.Windows.Forms.Label();
            this.label95 = new System.Windows.Forms.Label();
            this.label86 = new System.Windows.Forms.Label();
            this.btnpc_thoat = new System.Windows.Forms.Button();
            this.btnpc_boqua = new System.Windows.Forms.Button();
            this.btnpc_sua = new System.Windows.Forms.Button();
            this.btnpc_luu = new System.Windows.Forms.Button();
            this.label15 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.txtpc_ngdle = new System.Windows.Forms.TextBox();
            this.txtpc_sbhyt = new System.Windows.Forms.TextBox();
            this.txtpc_ngdchunhat = new System.Windows.Forms.TextBox();
            this.txtpc_ngdthuong = new System.Windows.Forms.TextBox();
            this.txtpc_sbhtn = new System.Windows.Forms.TextBox();
            this.txtpc_bhtn = new System.Windows.Forms.TextBox();
            this.label64 = new System.Windows.Forms.Label();
            this.label26 = new System.Windows.Forms.Label();
            this.label102 = new System.Windows.Forms.Label();
            this.label74 = new System.Windows.Forms.Label();
            this.label63 = new System.Windows.Forms.Label();
            this.label101 = new System.Windows.Forms.Label();
            this.label62 = new System.Windows.Forms.Label();
            this.label50 = new System.Windows.Forms.Label();
            this.label108 = new System.Windows.Forms.Label();
            this.label107 = new System.Windows.Forms.Label();
            this.txtpc_luongdh = new System.Windows.Forms.TextBox();
            this.txtpc_luongtv = new System.Windows.Forms.TextBox();
            this.label24 = new System.Windows.Forms.Label();
            this.label100 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.txtpc_mlphucap = new System.Windows.Forms.TextBox();
            this.label161 = new System.Windows.Forms.Label();
            this.label20 = new System.Windows.Forms.Label();
            this.txtpc_hstkiem = new System.Windows.Forms.TextBox();
            this.txtpc_sbhxh = new System.Windows.Forms.TextBox();
            this.label106 = new System.Windows.Forms.Label();
            this.label105 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.label75 = new System.Windows.Forms.Label();
            this.tabpt = new System.Windows.Forms.TabPage();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.panel4 = new System.Windows.Forms.Panel();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.loai = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_ptv = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_bsgm = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_ktvgm = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_phu1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_phu2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_giupviec = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.cl_dungcu = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.pttt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panel3 = new System.Windows.Forms.Panel();
            this.txtpt_phu1 = new System.Windows.Forms.MaskedTextBox();
            this.txtpt_ktvgm = new System.Windows.Forms.MaskedTextBox();
            this.label57 = new System.Windows.Forms.Label();
            this.txtpt_bsgm = new System.Windows.Forms.MaskedTextBox();
            this.label56 = new System.Windows.Forms.Label();
            this.txtpt_dungcu = new System.Windows.Forms.MaskedTextBox();
            this.label72 = new System.Windows.Forms.Label();
            this.txtpt_giupviec = new System.Windows.Forms.MaskedTextBox();
            this.label55 = new System.Windows.Forms.Label();
            this.txtpt_phu2 = new System.Windows.Forms.MaskedTextBox();
            this.label73 = new System.Windows.Forms.Label();
            this.label54 = new System.Windows.Forms.Label();
            this.txtpt_ptvchinh = new System.Windows.Forms.MaskedTextBox();
            this.label53 = new System.Windows.Forms.Label();
            this.btnpt_xoa = new System.Windows.Forms.Button();
            this.btnpt_them = new System.Windows.Forms.Button();
            this.btnpt_thoat = new System.Windows.Forms.Button();
            this.btnpt_boqua = new System.Windows.Forms.Button();
            this.btnpt_sua = new System.Windows.Forms.Button();
            this.btnpt_luu = new System.Windows.Forms.Button();
            this.panel2 = new System.Windows.Forms.Panel();
            this.gpBPTTT = new System.Windows.Forms.GroupBox();
            this.radpt_tthuat = new System.Windows.Forms.RadioButton();
            this.label52 = new System.Windows.Forms.Label();
            this.radpt_pthuat = new System.Windows.Forms.RadioButton();
            this.cbopt_loaipt = new System.Windows.Forms.ComboBox();
            this.txtloai = new System.Windows.Forms.MaskedTextBox();
            this.tabbh = new System.Windows.Forms.TabPage();
            this.gr_tylettn = new System.Windows.Forms.GroupBox();
            this.txt_ttnid = new System.Windows.Forms.TextBox();
            this.btn_ttnboqua = new System.Windows.Forms.Button();
            this.btn_ttnluu = new System.Windows.Forms.Button();
            this.btn_ttnxoa = new System.Windows.Forms.Button();
            this.btn_ttnsua = new System.Windows.Forms.Button();
            this.btn_ttnthem = new System.Windows.Forms.Button();
            this.label148 = new System.Windows.Forms.Label();
            this.label147 = new System.Windows.Forms.Label();
            this.txt_ttntyle = new System.Windows.Forms.TextBox();
            this.label146 = new System.Windows.Forms.Label();
            this.txt_ttnden = new System.Windows.Forms.TextBox();
            this.dgrv_tylettn = new System.Windows.Forms.DataGridView();
            this.ttn_tu = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ttn_den = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ttn_tyle = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.txt_ttntu = new System.Windows.Forms.TextBox();
            this.gr_hsbh = new System.Windows.Forms.GroupBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.chk_hsdh = new System.Windows.Forms.CheckBox();
            this.chk_hstn = new System.Windows.Forms.CheckBox();
            this.chk_hsvk = new System.Windows.Forms.CheckBox();
            this.chk_hskv = new System.Windows.Forms.CheckBox();
            this.chk_hslg = new System.Windows.Forms.CheckBox();
            this.chk_hscv = new System.Windows.Forms.CheckBox();
            this.chk_luongkhoan = new System.Windows.Forms.CheckBox();
            this.rad_kpcd = new System.Windows.Forms.RadioButton();
            this.cbo_hopdong = new System.Windows.Forms.ComboBox();
            this.rad_bhtn = new System.Windows.Forms.RadioButton();
            this.btn_luubh = new System.Windows.Forms.Button();
            this.rad_bhyt = new System.Windows.Forms.RadioButton();
            this.btnbh_sua = new System.Windows.Forms.Button();
            this.rad_bhxh = new System.Windows.Forms.RadioButton();
            this.label9 = new System.Windows.Forms.Label();
            this.btn_tbhsua = new System.Windows.Forms.Button();
            this.btn_tbhboqua = new System.Windows.Forms.Button();
            this.btnbh_thoat = new System.Windows.Forms.Button();
            this.txtl3_p2 = new System.Windows.Forms.TextBox();
            this.label41 = new System.Windows.Forms.Label();
            this.txtl3_p1 = new System.Windows.Forms.TextBox();
            this.label42 = new System.Windows.Forms.Label();
            this.label43 = new System.Windows.Forms.Label();
            this.txtl3_c = new System.Windows.Forms.TextBox();
            this.label44 = new System.Windows.Forms.Label();
            this.txtl2_p2 = new System.Windows.Forms.TextBox();
            this.label45 = new System.Windows.Forms.Label();
            this.txtl2_p1 = new System.Windows.Forms.TextBox();
            this.label46 = new System.Windows.Forms.Label();
            this.label48 = new System.Windows.Forms.Label();
            this.txtl2_c = new System.Windows.Forms.TextBox();
            this.label49 = new System.Windows.Forms.Label();
            this.txtl1_p2 = new System.Windows.Forms.TextBox();
            this.label36 = new System.Windows.Forms.Label();
            this.txtl1_p1 = new System.Windows.Forms.TextBox();
            this.label38 = new System.Windows.Forms.Label();
            this.label39 = new System.Windows.Forms.Label();
            this.txtl1_c = new System.Windows.Forms.TextBox();
            this.label40 = new System.Windows.Forms.Label();
            this.txtdb_p2 = new System.Windows.Forms.TextBox();
            this.label31 = new System.Windows.Forms.Label();
            this.txtdb_p1 = new System.Windows.Forms.TextBox();
            this.label32 = new System.Windows.Forms.Label();
            this.label34 = new System.Windows.Forms.Label();
            this.txtdb_c = new System.Windows.Forms.TextBox();
            this.label35 = new System.Windows.Forms.Label();
            this.toolStrip3 = new System.Windows.Forms.ToolStrip();
            this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
            this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
            this.chkl_heso = new System.Windows.Forms.CheckedListBox();
            this.label65 = new System.Windows.Forms.Label();
            this.cbo_loaihd = new System.Windows.Forms.ComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.InputError)).BeginInit();
            this.tabControl1.SuspendLayout();
            this.tabc.SuspendLayout();
            this.tabpc.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.tabpt.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.panel4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.panel3.SuspendLayout();
            this.panel2.SuspendLayout();
            this.gpBPTTT.SuspendLayout();
            this.tabbh.SuspendLayout();
            this.gr_tylettn.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgrv_tylettn)).BeginInit();
            this.gr_hsbh.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.toolStrip3.SuspendLayout();
            this.SuspendLayout();
            // 
            // txtpc_mltt
            // 
            this.txtpc_mltt.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_mltt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_mltt.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_mltt.Location = new System.Drawing.Point(124, 33);
            this.txtpc_mltt.MaxLength = 10;
            this.txtpc_mltt.Name = "txtpc_mltt";
            this.txtpc_mltt.Size = new System.Drawing.Size(80, 21);
            this.txtpc_mltt.TabIndex = 0;
            this.txtpc_mltt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_mltt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_mltt.Validated += new System.EventHandler(this.txtmucluong_Validated);
            this.txtpc_mltt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmucluong_KeyDown);
            // 
            // label3
            // 
            this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.Color.Navy;
            this.label3.Location = new System.Drawing.Point(23, 37);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(99, 13);
            this.label3.TabIndex = 147;
            this.label3.Text = "Mức lương thực tế:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_bhxh
            // 
            this.txtpc_bhxh.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_bhxh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_bhxh.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_bhxh.Location = new System.Drawing.Point(489, 34);
            this.txtpc_bhxh.MaxLength = 10;
            this.txtpc_bhxh.Name = "txtpc_bhxh";
            this.txtpc_bhxh.Size = new System.Drawing.Size(80, 21);
            this.txtpc_bhxh.TabIndex = 6;
            this.txtpc_bhxh.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_bhxh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_bhxh.Validated += new System.EventHandler(this.txtbhxh_Validated);
            this.txtpc_bhxh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhxh_KeyDown);
            // 
            // txtpc_bhyt
            // 
            this.txtpc_bhyt.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_bhyt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_bhyt.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_bhyt.Location = new System.Drawing.Point(489, 58);
            this.txtpc_bhyt.MaxLength = 10;
            this.txtpc_bhyt.Name = "txtpc_bhyt";
            this.txtpc_bhyt.Size = new System.Drawing.Size(80, 21);
            this.txtpc_bhyt.TabIndex = 7;
            this.txtpc_bhyt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_bhyt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_bhyt.Validated += new System.EventHandler(this.txtbhyt_Validated);
            this.txtpc_bhyt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhyt_KeyDown);
            // 
            // txtpc_kpcd
            // 
            this.txtpc_kpcd.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_kpcd.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_kpcd.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_kpcd.Location = new System.Drawing.Point(331, 33);
            this.txtpc_kpcd.MaxLength = 10;
            this.txtpc_kpcd.Name = "txtpc_kpcd";
            this.txtpc_kpcd.Size = new System.Drawing.Size(71, 21);
            this.txtpc_kpcd.TabIndex = 3;
            this.txtpc_kpcd.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_kpcd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_kpcd.Validated += new System.EventHandler(this.txtkpcd_Validated);
            this.txtpc_kpcd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtkpcd_KeyDown);
            // 
            // txtpc_hsom
            // 
            this.txtpc_hsom.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsom.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsom.Location = new System.Drawing.Point(106, 439);
            this.txtpc_hsom.MaxLength = 10;
            this.txtpc_hsom.Name = "txtpc_hsom";
            this.txtpc_hsom.Size = new System.Drawing.Size(48, 21);
            this.txtpc_hsom.TabIndex = 70;
            this.txtpc_hsom.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsom.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsom.Validated += new System.EventHandler(this.txthsom_Validated);
            this.txtpc_hsom.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txthsom_KeyDown);
            // 
            // label1
            // 
            this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.Navy;
            this.label1.Location = new System.Drawing.Point(22, 442);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(88, 13);
            this.label1.TabIndex = 153;
            this.label1.Text = "Hệ số ngày ốm:  ";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_ngnthuong
            // 
            this.txtpc_ngnthuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngnthuong.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngnthuong.Location = new System.Drawing.Point(325, 318);
            this.txtpc_ngnthuong.MaxLength = 10;
            this.txtpc_ngnthuong.Name = "txtpc_ngnthuong";
            this.txtpc_ngnthuong.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngnthuong.TabIndex = 53;
            this.txtpc_ngnthuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngnthuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ngnthuong.Validated += new System.EventHandler(this.txtpc_ngnthuong_Validated);
            this.txtpc_ngnthuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpcngaythuong_KeyDown);
            // 
            // txtpc_ngnchunhat
            // 
            this.txtpc_ngnchunhat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngnchunhat.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngnchunhat.Location = new System.Drawing.Point(325, 342);
            this.txtpc_ngnchunhat.MaxLength = 10;
            this.txtpc_ngnchunhat.Name = "txtpc_ngnchunhat";
            this.txtpc_ngnchunhat.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngnchunhat.TabIndex = 54;
            this.txtpc_ngnchunhat.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngnchunhat.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ngnchunhat.Validated += new System.EventHandler(this.txtpc_ngnchunhat_Validated);
            this.txtpc_ngnchunhat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpcngaychunhat_KeyDown);
            // 
            // txtpc_ngaylvqd
            // 
            this.txtpc_ngaylvqd.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngaylvqd.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngaylvqd.Location = new System.Drawing.Point(331, 81);
            this.txtpc_ngaylvqd.MaxLength = 3;
            this.txtpc_ngaylvqd.Name = "txtpc_ngaylvqd";
            this.txtpc_ngaylvqd.Size = new System.Drawing.Size(71, 21);
            this.txtpc_ngaylvqd.TabIndex = 5;
            this.txtpc_ngaylvqd.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngaylvqd.Validated += new System.EventHandler(this.txtngaynghi_Validated);
            this.txtpc_ngaylvqd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtngaynghi_KeyDown);
            // 
            // label2
            // 
            this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.Navy;
            this.label2.Location = new System.Drawing.Point(419, 38);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(67, 13);
            this.label2.TabIndex = 157;
            this.label2.Text = "Hệ số BHXH:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label4
            // 
            this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.Color.Navy;
            this.label4.Location = new System.Drawing.Point(420, 62);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(66, 13);
            this.label4.TabIndex = 158;
            this.label4.Text = "Hệ số BHYT:";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label5
            // 
            this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.Color.Navy;
            this.label5.Location = new System.Drawing.Point(259, 37);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(71, 13);
            this.label5.TabIndex = 159;
            this.label5.Text = "Hệ số KPCÐ: ";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label6
            // 
            this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.Color.Navy;
            this.label6.Location = new System.Drawing.Point(250, 322);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(74, 13);
            this.label6.TabIndex = 160;
            this.label6.Text = "Ngày thường:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label7
            // 
            this.label7.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.Color.Navy;
            this.label7.Location = new System.Drawing.Point(268, 346);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(55, 13);
            this.label7.TabIndex = 161;
            this.label7.Text = "Chủ nhật:";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label8
            // 
            this.label8.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.ForeColor = System.Drawing.Color.Navy;
            this.label8.Location = new System.Drawing.Point(207, 84);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(121, 13);
            this.label8.TabIndex = 162;
            this.label8.Text = "Số ngày lv trong tháng:";
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label21
            // 
            this.label21.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label21.ForeColor = System.Drawing.Color.Navy;
            this.label21.Location = new System.Drawing.Point(312, 152);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(46, 13);
            this.label21.TabIndex = 184;
            this.label21.Text = "hệ số 1:";
            this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label22
            // 
            this.label22.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label22.ForeColor = System.Drawing.Color.Navy;
            this.label22.Location = new System.Drawing.Point(312, 176);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(46, 13);
            this.label22.TabIndex = 185;
            this.label22.Text = "hệ số 2:";
            this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label23
            // 
            this.label23.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label23.ForeColor = System.Drawing.Color.Navy;
            this.label23.Location = new System.Drawing.Point(312, 200);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(46, 13);
            this.label23.TabIndex = 186;
            this.label23.Text = "hệ số 3:";
            this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_hs1
            // 
            this.txtpc_hs1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hs1.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hs1.Location = new System.Drawing.Point(361, 148);
            this.txtpc_hs1.MaxLength = 10;
            this.txtpc_hs1.Name = "txtpc_hs1";
            this.txtpc_hs1.Size = new System.Drawing.Size(80, 21);
            this.txtpc_hs1.TabIndex = 26;
            this.txtpc_hs1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hs1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hs1.Validated += new System.EventHandler(this.txths1_Validated);
            this.txtpc_hs1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmtnt_KeyDown);
            // 
            // txtpc_hs2
            // 
            this.txtpc_hs2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hs2.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hs2.Location = new System.Drawing.Point(361, 172);
            this.txtpc_hs2.MaxLength = 10;
            this.txtpc_hs2.Name = "txtpc_hs2";
            this.txtpc_hs2.Size = new System.Drawing.Size(80, 21);
            this.txtpc_hs2.TabIndex = 27;
            this.txtpc_hs2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hs2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hs2.Validated += new System.EventHandler(this.txths2_Validated);
            this.txtpc_hs2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmtcn_KeyDown);
            // 
            // txtpc_hs3
            // 
            this.txtpc_hs3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hs3.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hs3.Location = new System.Drawing.Point(361, 196);
            this.txtpc_hs3.MaxLength = 10;
            this.txtpc_hs3.Name = "txtpc_hs3";
            this.txtpc_hs3.Size = new System.Drawing.Size(80, 21);
            this.txtpc_hs3.TabIndex = 28;
            this.txtpc_hs3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hs3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hs3.Validated += new System.EventHandler(this.txths3_Validated);
            this.txtpc_hs3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmtletet_KeyDown);
            // 
            // InputError
            // 
            this.InputError.ContainerControl = this;
            // 
            // btn_boquabh
            // 
            this.btn_boquabh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_boquabh.ForeColor = System.Drawing.Color.DarkBlue;
            this.InputError.SetIconAlignment(this.btn_boquabh, System.Windows.Forms.ErrorIconAlignment.BottomLeft);
            this.btn_boquabh.Image = global::Human.Properties.Resources.undo_2005;
            this.btn_boquabh.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_boquabh.Location = new System.Drawing.Point(182, 224);
            this.btn_boquabh.Name = "btn_boquabh";
            this.btn_boquabh.Size = new System.Drawing.Size(65, 28);
            this.btn_boquabh.TabIndex = 5;
            this.btn_boquabh.Text = "&Bỏ qua";
            this.btn_boquabh.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btn_boquabh.UseVisualStyleBackColor = true;
            this.btn_boquabh.Click += new System.EventHandler(this.btn_boquabh_Click);
            // 
            // label28
            // 
            this.label28.BackColor = System.Drawing.Color.Transparent;
            this.label28.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label28.ForeColor = System.Drawing.Color.Navy;
            this.label28.Location = new System.Drawing.Point(311, 114);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(167, 14);
            this.label28.TabIndex = 98;
            this.label28.Text = "Hệ số bồi dưỡng hiện vật:";
            this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtpc_hs4
            // 
            this.txtpc_hs4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hs4.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hs4.Location = new System.Drawing.Point(361, 220);
            this.txtpc_hs4.MaxLength = 10;
            this.txtpc_hs4.Name = "txtpc_hs4";
            this.txtpc_hs4.Size = new System.Drawing.Size(80, 21);
            this.txtpc_hs4.TabIndex = 29;
            this.txtpc_hs4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hs4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hs4.Validated += new System.EventHandler(this.txths4_Validated_1);
            this.txtpc_hs4.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmdbnt_KeyDown);
            // 
            // label29
            // 
            this.label29.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label29.ForeColor = System.Drawing.Color.Navy;
            this.label29.Location = new System.Drawing.Point(312, 224);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(46, 13);
            this.label29.TabIndex = 102;
            this.label29.Text = "hệ số 4:";
            this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label33
            // 
            this.label33.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label33.ForeColor = System.Drawing.Color.Navy;
            this.label33.Location = new System.Drawing.Point(346, 260);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(167, 14);
            this.label33.TabIndex = 106;
            this.label33.Text = "Hệ số làm thêm ngoài giờ:";
            // 
            // label37
            // 
            this.label37.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label37.ForeColor = System.Drawing.Color.Navy;
            this.label37.Location = new System.Drawing.Point(284, 370);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(39, 13);
            this.label37.TabIndex = 113;
            this.label37.Text = "Lễ tết:";
            this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_ngnle
            // 
            this.txtpc_ngnle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngnle.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngnle.Location = new System.Drawing.Point(325, 366);
            this.txtpc_ngnle.MaxLength = 10;
            this.txtpc_ngnle.Name = "txtpc_ngnle";
            this.txtpc_ngnle.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngnle.TabIndex = 55;
            this.txtpc_ngnle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngnle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ngnle.Validated += new System.EventHandler(this.txtpc_ngnle_Validated);
            this.txtpc_ngnle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpcngayletet_KeyDown);
            // 
            // label47
            // 
            this.label47.BackColor = System.Drawing.Color.Transparent;
            this.label47.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label47.ForeColor = System.Drawing.Color.Navy;
            this.label47.Location = new System.Drawing.Point(3, 114);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(167, 14);
            this.label47.TabIndex = 185;
            this.label47.Text = "Thưởng theo công  A,B,C:";
            this.label47.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolTip1.SetToolTip(this.label47, "Số tiền thưởng theo công abc");
            // 
            // label10
            // 
            this.label10.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ForeColor = System.Drawing.Color.Navy;
            this.label10.Location = new System.Drawing.Point(3, 256);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(141, 14);
            this.label10.TabIndex = 191;
            this.label10.Text = "Phụ cấp thường trực:";
            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolTip1.SetToolTip(this.label10, "Số tiền thưởng phụ cấp thường trực");
            // 
            // label138
            // 
            this.label138.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label138.ForeColor = System.Drawing.Color.Navy;
            this.label138.Location = new System.Drawing.Point(578, 114);
            this.label138.Name = "label138";
            this.label138.Size = new System.Drawing.Size(170, 14);
            this.label138.TabIndex = 257;
            this.label138.Text = "Phụ cấp trực tăng cường :";
            this.label138.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolTip1.SetToolTip(this.label138, "Số tiền thưởng phụ cấp thường trực");
            // 
            // chk_sd_ccngayt7
            // 
            this.chk_sd_ccngayt7.AutoSize = true;
            this.chk_sd_ccngayt7.Enabled = false;
            this.chk_sd_ccngayt7.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_sd_ccngayt7.Location = new System.Drawing.Point(547, 225);
            this.chk_sd_ccngayt7.Name = "chk_sd_ccngayt7";
            this.chk_sd_ccngayt7.Size = new System.Drawing.Size(163, 17);
            this.chk_sd_ccngayt7.TabIndex = 35;
            this.chk_sd_ccngayt7.Text = "Sử dụng ca chấm công thứ 7";
            this.toolTip1.SetToolTip(this.chk_sd_ccngayt7, "Chọn khi ca chấm công ngày thứ 7 thời gian quy định khác ngày thường");
            this.chk_sd_ccngayt7.UseVisualStyleBackColor = true;
            this.chk_sd_ccngayt7.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_sd_ccngayt7_KeyDown);
            // 
            // txtpc_stc
            // 
            this.txtpc_stc.Enabled = false;
            this.txtpc_stc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_stc.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_stc.Location = new System.Drawing.Point(204, 220);
            this.txtpc_stc.MaxLength = 10;
            this.txtpc_stc.Name = "txtpc_stc";
            this.txtpc_stc.Size = new System.Drawing.Size(85, 21);
            this.txtpc_stc.TabIndex = 25;
            this.txtpc_stc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_stc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_stc.Validated += new System.EventHandler(this.txtC_Validated);
            this.txtpc_stc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtc_keydown);
            // 
            // txtpc_stb
            // 
            this.txtpc_stb.Enabled = false;
            this.txtpc_stb.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_stb.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_stb.Location = new System.Drawing.Point(204, 196);
            this.txtpc_stb.MaxLength = 10;
            this.txtpc_stb.Name = "txtpc_stb";
            this.txtpc_stb.Size = new System.Drawing.Size(85, 21);
            this.txtpc_stb.TabIndex = 24;
            this.txtpc_stb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_stb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_stb.Validated += new System.EventHandler(this.txtB_Validated);
            this.txtpc_stb.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtB_KeyDown_1);
            // 
            // txtpc_sta
            // 
            this.txtpc_sta.Enabled = false;
            this.txtpc_sta.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_sta.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_sta.Location = new System.Drawing.Point(204, 172);
            this.txtpc_sta.MaxLength = 10;
            this.txtpc_sta.Name = "txtpc_sta";
            this.txtpc_sta.Size = new System.Drawing.Size(85, 21);
            this.txtpc_sta.TabIndex = 23;
            this.txtpc_sta.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_sta.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_sta.Validated += new System.EventHandler(this.txtA_Validated);
            this.txtpc_sta.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtA_KeyDown);
            // 
            // txtpc_ttcn
            // 
            this.txtpc_ttcn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ttcn.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ttcn.Location = new System.Drawing.Point(82, 342);
            this.txtpc_ttcn.MaxLength = 10;
            this.txtpc_ttcn.Name = "txtpc_ttcn";
            this.txtpc_ttcn.Size = new System.Drawing.Size(72, 21);
            this.txtpc_ttcn.TabIndex = 46;
            this.txtpc_ttcn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ttcn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ttcn.Validated += new System.EventHandler(this.txtpc_ttcn_Validated);
            this.txtpc_ttcn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbdhienvat_KeyDown);
            // 
            // txtpc_ttthuong
            // 
            this.txtpc_ttthuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ttthuong.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ttthuong.Location = new System.Drawing.Point(82, 318);
            this.txtpc_ttthuong.MaxLength = 10;
            this.txtpc_ttthuong.Name = "txtpc_ttthuong";
            this.txtpc_ttthuong.Size = new System.Drawing.Size(72, 21);
            this.txtpc_ttthuong.TabIndex = 45;
            this.txtpc_ttthuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ttthuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ttthuong.Validated += new System.EventHandler(this.txtthuongtruc_Validated);
            this.txtpc_ttthuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtthuongtruc_KeyDown);
            // 
            // label11
            // 
            this.label11.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label11.ForeColor = System.Drawing.Color.Navy;
            this.label11.Location = new System.Drawing.Point(25, 346);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(55, 13);
            this.label11.TabIndex = 190;
            this.label11.Text = "Chủ nhật:";
            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label12
            // 
            this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label12.ForeColor = System.Drawing.Color.Navy;
            this.label12.Location = new System.Drawing.Point(6, 322);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(74, 13);
            this.label12.TabIndex = 189;
            this.label12.Text = "Ngày thường:";
            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_hsb
            // 
            this.txtpc_hsb.Enabled = false;
            this.txtpc_hsb.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsb.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsb.Location = new System.Drawing.Point(46, 198);
            this.txtpc_hsb.MaxLength = 10;
            this.txtpc_hsb.Name = "txtpc_hsb";
            this.txtpc_hsb.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hsb.TabIndex = 21;
            this.txtpc_hsb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsb.Validated += new System.EventHandler(this.txtleB_Validated);
            this.txtpc_hsb.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtB_KeyDown);
            // 
            // txtpc_hsa
            // 
            this.txtpc_hsa.Enabled = false;
            this.txtpc_hsa.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsa.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsa.Location = new System.Drawing.Point(46, 174);
            this.txtpc_hsa.MaxLength = 10;
            this.txtpc_hsa.Name = "txtpc_hsa";
            this.txtpc_hsa.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hsa.TabIndex = 20;
            this.txtpc_hsa.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsa.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsa.Validated += new System.EventHandler(this.txtleA_Validated);
            this.txtpc_hsa.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtleA_KeyDown);
            // 
            // label17
            // 
            this.label17.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label17.ForeColor = System.Drawing.Color.Navy;
            this.label17.Location = new System.Drawing.Point(5, 200);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(39, 13);
            this.label17.TabIndex = 203;
            this.label17.Text = "Loại B:";
            this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label18
            // 
            this.label18.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label18.ForeColor = System.Drawing.Color.Navy;
            this.label18.Location = new System.Drawing.Point(4, 177);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(40, 13);
            this.label18.TabIndex = 202;
            this.label18.Text = "Loại A:";
            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_ttle
            // 
            this.txtpc_ttle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ttle.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ttle.Location = new System.Drawing.Point(82, 366);
            this.txtpc_ttle.MaxLength = 10;
            this.txtpc_ttle.Name = "txtpc_ttle";
            this.txtpc_ttle.Size = new System.Drawing.Size(72, 21);
            this.txtpc_ttle.TabIndex = 47;
            this.txtpc_ttle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ttle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_ttle.Validated += new System.EventHandler(this.txtpc_ttle_Validated);
            this.txtpc_ttle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtthuongtruc_le_KeyDown);
            // 
            // label19
            // 
            this.label19.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label19.ForeColor = System.Drawing.Color.Navy;
            this.label19.Location = new System.Drawing.Point(37, 370);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(43, 13);
            this.label19.TabIndex = 206;
            this.label19.Text = "Lễ, tết:";
            this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_hsc
            // 
            this.txtpc_hsc.Enabled = false;
            this.txtpc_hsc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsc.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsc.Location = new System.Drawing.Point(46, 222);
            this.txtpc_hsc.MaxLength = 10;
            this.txtpc_hsc.Name = "txtpc_hsc";
            this.txtpc_hsc.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hsc.TabIndex = 22;
            this.txtpc_hsc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsc.Validated += new System.EventHandler(this.txtpc_hsc_Validated);
            this.txtpc_hsc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtleC_KeyDown);
            // 
            // label25
            // 
            this.label25.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label25.ForeColor = System.Drawing.Color.Navy;
            this.label25.Location = new System.Drawing.Point(4, 225);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(40, 13);
            this.label25.TabIndex = 210;
            this.label25.Text = "Loại C:";
            this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_hsle
            // 
            this.txtpc_hsle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsle.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsle.Location = new System.Drawing.Point(164, 366);
            this.txtpc_hsle.MaxLength = 10;
            this.txtpc_hsle.Name = "txtpc_hsle";
            this.txtpc_hsle.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hsle.TabIndex = 50;
            this.txtpc_hsle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsle.Validated += new System.EventHandler(this.txtpc_hsle_Validated);
            this.txtpc_hsle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txthoisuc_le_KeyDown);
            // 
            // txtpc_hscn
            // 
            this.txtpc_hscn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hscn.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hscn.Location = new System.Drawing.Point(164, 342);
            this.txtpc_hscn.MaxLength = 10;
            this.txtpc_hscn.Name = "txtpc_hscn";
            this.txtpc_hscn.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hscn.TabIndex = 49;
            this.txtpc_hscn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hscn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hscn.Validated += new System.EventHandler(this.txtpc_hscn_Validated);
            this.txtpc_hscn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txthoisuc_cn_KeyDown);
            // 
            // txtpc_hsthuong
            // 
            this.txtpc_hsthuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hsthuong.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hsthuong.Location = new System.Drawing.Point(164, 318);
            this.txtpc_hsthuong.MaxLength = 10;
            this.txtpc_hsthuong.Name = "txtpc_hsthuong";
            this.txtpc_hsthuong.Size = new System.Drawing.Size(72, 21);
            this.txtpc_hsthuong.TabIndex = 48;
            this.txtpc_hsthuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hsthuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hsthuong.Validated += new System.EventHandler(this.txtpc_hsthuong_Validated);
            this.txtpc_hsthuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txthoisuc_thuong_KeyDown);
            // 
            // label27
            // 
            this.label27.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label27.ForeColor = System.Drawing.Color.Navy;
            this.label27.Location = new System.Drawing.Point(79, 302);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(82, 13);
            this.label27.TabIndex = 216;
            this.label27.Text = "Kvực thường:";
            this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label30
            // 
            this.label30.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label30.ForeColor = System.Drawing.Color.Navy;
            this.label30.Location = new System.Drawing.Point(166, 302);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(85, 13);
            this.label30.TabIndex = 217;
            this.label30.Text = "Kvực cấp cứu:";
            this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabc);
            this.tabControl1.Controls.Add(this.tabpc);
            this.tabControl1.Controls.Add(this.tabpt);
            this.tabControl1.Controls.Add(this.tabbh);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 36);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(788, 533);
            this.tabControl1.TabIndex = 0;
            this.tabControl1.Click += new System.EventHandler(this.tabControl1_Click);
            this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
            // 
            // tabc
            // 
            this.tabc.Controls.Add(this.txt_dnthcc);
            this.tabc.Controls.Add(this.txt_tnthcc);
            this.tabc.Controls.Add(this.chk_ccngaycn);
            this.tabc.Controls.Add(this.chk_sd_ccngayt7);
            this.tabc.Controls.Add(this.chk_cctc_taikhoatc);
            this.tabc.Controls.Add(this.chk_sdtgsomtre);
            this.tabc.Controls.Add(this.label157);
            this.tabc.Controls.Add(this.label156);
            this.tabc.Controls.Add(this.label151);
            this.tabc.Controls.Add(this.label152);
            this.tabc.Controls.Add(this.label153);
            this.tabc.Controls.Add(this.label154);
            this.tabc.Controls.Add(this.chk_hdbantg);
            this.tabc.Controls.Add(this.chk_luongsp);
            this.tabc.Controls.Add(this.chk_luonghd);
            this.tabc.Controls.Add(this.txt_tacatruc);
            this.tabc.Controls.Add(this.txt_pctienan);
            this.tabc.Controls.Add(this.chk_hsud3);
            this.tabc.Controls.Add(this.chk_hsud2);
            this.tabc.Controls.Add(this.chk_pctdt2);
            this.tabc.Controls.Add(this.chk_pctx2);
            this.tabc.Controls.Add(this.chk_pctdt3);
            this.tabc.Controls.Add(this.chk_pctx3);
            this.tabc.Controls.Add(this.chk_hstn3);
            this.tabc.Controls.Add(this.chk_hstn2);
            this.tabc.Controls.Add(this.chk_pcdt2);
            this.tabc.Controls.Add(this.chk_hsdb2);
            this.tabc.Controls.Add(this.chk_pcdt3);
            this.tabc.Controls.Add(this.chk_hsdb3);
            this.tabc.Controls.Add(this.chk_hsdh3);
            this.tabc.Controls.Add(this.chk_hsdh2);
            this.tabc.Controls.Add(this.chk_pckh2);
            this.tabc.Controls.Add(this.chk_pckh3);
            this.tabc.Controls.Add(this.chk_hskv3);
            this.tabc.Controls.Add(this.chk_hskv2);
            this.tabc.Controls.Add(this.chk_pcta2);
            this.tabc.Controls.Add(this.chk_pcta3);
            this.tabc.Controls.Add(this.chk_hsth3);
            this.tabc.Controls.Add(this.chk_hsth2);
            this.tabc.Controls.Add(this.chk_hsld2);
            this.tabc.Controls.Add(this.chk_hsld3);
            this.tabc.Controls.Add(this.chk_hsvk3);
            this.tabc.Controls.Add(this.chk_hscv3);
            this.tabc.Controls.Add(this.chk_hsvk2);
            this.tabc.Controls.Add(this.chk_hscv2);
            this.tabc.Controls.Add(this.chk_hsud1);
            this.tabc.Controls.Add(this.chk_pctdt1);
            this.tabc.Controls.Add(this.chk_pctx1);
            this.tabc.Controls.Add(this.chk_hstn1);
            this.tabc.Controls.Add(this.chk_pcdt1);
            this.tabc.Controls.Add(this.chk_hsdb1);
            this.tabc.Controls.Add(this.chk_hsdh1);
            this.tabc.Controls.Add(this.chk_pckh1);
            this.tabc.Controls.Add(this.chk_hskv1);
            this.tabc.Controls.Add(this.chk_pcta1);
            this.tabc.Controls.Add(this.chk_hsth1);
            this.tabc.Controls.Add(this.chk_hsld1);
            this.tabc.Controls.Add(this.chk_hsvk1);
            this.tabc.Controls.Add(this.chk_hscv1);
            this.tabc.Controls.Add(this.label130);
            this.tabc.Controls.Add(this.label131);
            this.tabc.Controls.Add(this.label127);
            this.tabc.Controls.Add(this.label116);
            this.tabc.Controls.Add(this.label129);
            this.tabc.Controls.Add(this.label115);
            this.tabc.Controls.Add(this.label128);
            this.tabc.Controls.Add(this.label114);
            this.tabc.Controls.Add(this.chk_ngachdn);
            this.tabc.Controls.Add(this.label112);
            this.tabc.Controls.Add(this.txt_sohieutkvn);
            this.tabc.Controls.Add(this.label96);
            this.tabc.Controls.Add(this.label97);
            this.tabc.Controls.Add(this.label98);
            this.tabc.Controls.Add(this.label99);
            this.tabc.Controls.Add(this.btnc_thoat);
            this.tabc.Controls.Add(this.btnc_boqua);
            this.tabc.Controls.Add(this.btnc_sua);
            this.tabc.Controls.Add(this.btnc_luu);
            this.tabc.Controls.Add(this.dtp_gioccchieu);
            this.tabc.Controls.Add(this.label84);
            this.tabc.Controls.Add(this.label76);
            this.tabc.Controls.Add(this.chk_ccthuongquy);
            this.tabc.Controls.Add(this.chk_cctructc);
            this.tabc.Controls.Add(this.chk_nhapmacc);
            this.tabc.Controls.Add(this.chk_cccuoituan);
            this.tabc.Controls.Add(this.cbo_matt);
            this.tabc.Controls.Add(this.chk_dgkqcc);
            this.tabc.Controls.Add(this.txt_website);
            this.tabc.Controls.Add(this.txt_fax);
            this.tabc.Controls.Add(this.txt_dienthoai);
            this.tabc.Controls.Add(this.label159);
            this.tabc.Controls.Add(this.label126);
            this.tabc.Controls.Add(this.label121);
            this.tabc.Controls.Add(this.label160);
            this.tabc.Controls.Add(this.label125);
            this.tabc.Controls.Add(this.label119);
            this.tabc.Controls.Add(this.label155);
            this.tabc.Controls.Add(this.label141);
            this.tabc.Controls.Add(this.label150);
            this.tabc.Controls.Add(this.label149);
            this.tabc.Controls.Add(this.label124);
            this.tabc.Controls.Add(this.label117);
            this.tabc.Controls.Add(this.label123);
            this.tabc.Controls.Add(this.label120);
            this.tabc.Controls.Add(this.label122);
            this.tabc.Controls.Add(this.label118);
            this.tabc.Controls.Add(this.label158);
            this.tabc.Controls.Add(this.label113);
            this.tabc.Controls.Add(this.label77);
            this.tabc.Controls.Add(this.label78);
            this.tabc.Controls.Add(this.label79);
            this.tabc.Controls.Add(this.label80);
            this.tabc.Controls.Add(this.txt_thangtaodlp);
            this.tabc.Controls.Add(this.txt_lanccvt);
            this.tabc.Controls.Add(this.txt_kttruong);
            this.tabc.Controls.Add(this.txt_giamdoccty);
            this.tabc.Controls.Add(this.label81);
            this.tabc.Controls.Add(this.label82);
            this.tabc.Controls.Add(this.label83);
            this.tabc.Controls.Add(this.txt_tptochuc);
            this.tabc.Controls.Add(this.txt_giamdoc);
            this.tabc.Controls.Add(this.txt_msthue);
            this.tabc.Controls.Add(this.txt_sodkt);
            this.tabc.Controls.Add(this.txt_xephang);
            this.tabc.Controls.Add(this.txt_noimtk);
            this.tabc.Controls.Add(this.txt_diachi);
            this.tabc.Controls.Add(this.label85);
            this.tabc.Controls.Add(this.label88);
            this.tabc.Controls.Add(this.chk_phepthem2);
            this.tabc.Controls.Add(this.chk_phepthem1);
            this.tabc.Controls.Add(this.chk_ATM);
            this.tabc.Controls.Add(this.cbo_benhvien);
            this.tabc.Controls.Add(this.label89);
            this.tabc.Controls.Add(this.label58);
            this.tabc.Controls.Add(this.label66);
            this.tabc.Controls.Add(this.label67);
            this.tabc.Controls.Add(this.label87);
            this.tabc.Controls.Add(this.label90);
            this.tabc.Controls.Add(this.label91);
            this.tabc.Controls.Add(this.txt_soyte);
            this.tabc.Controls.Add(this.txt_mltt);
            this.tabc.Controls.Add(this.label92);
            this.tabc.Controls.Add(this.chk_Vantay);
            this.tabc.Controls.Add(this.cbo_maqu);
            this.tabc.Controls.Add(this.chk_thcctudong);
            this.tabc.Controls.Add(this.chk_khoadl);
            this.tabc.Controls.Add(this.label93);
            this.tabc.Controls.Add(this.label94);
            this.tabc.Location = new System.Drawing.Point(4, 22);
            this.tabc.Name = "tabc";
            this.tabc.Size = new System.Drawing.Size(780, 507);
            this.tabc.TabIndex = 4;
            this.tabc.Text = "Tiêu đề";
            this.tabc.UseVisualStyleBackColor = true;
            // 
            // txt_dnthcc
            // 
            this.txt_dnthcc.Location = new System.Drawing.Point(294, 284);
            this.txt_dnthcc.Name = "txt_dnthcc";
            this.txt_dnthcc.Size = new System.Drawing.Size(36, 21);
            this.txt_dnthcc.TabIndex = 45;
            this.txt_dnthcc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_dnthcc_KeyPress);
            this.txt_dnthcc.Validated += new System.EventHandler(this.txt_dnthcc_Validated);
            this.txt_dnthcc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_dnthcc_KeyDown);
            // 
            // txt_tnthcc
            // 
            this.txt_tnthcc.Location = new System.Drawing.Point(196, 284);
            this.txt_tnthcc.Name = "txt_tnthcc";
            this.txt_tnthcc.Size = new System.Drawing.Size(36, 21);
            this.txt_tnthcc.TabIndex = 44;
            this.txt_tnthcc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_tnthcc_KeyPress);
            this.txt_tnthcc.Validated += new System.EventHandler(this.txt_tnthcc_Validated);
            this.txt_tnthcc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_tnthcc_KeyDown);
            // 
            // chk_ccngaycn
            // 
            this.chk_ccngaycn.AutoSize = true;
            this.chk_ccngaycn.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ccngaycn.Location = new System.Drawing.Point(12, 265);
            this.chk_ccngaycn.Name = "chk_ccngaycn";
            this.chk_ccngaycn.Size = new System.Drawing.Size(151, 17);
            this.chk_ccngaycn.TabIndex = 40;
            this.chk_ccngaycn.Text = "Chấm công ngày chủ nhật";
            this.chk_ccngaycn.UseVisualStyleBackColor = true;
            this.chk_ccngaycn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ccngaycn_KeyDown);
            // 
            // chk_cctc_taikhoatc
            // 
            this.chk_cctc_taikhoatc.AutoSize = true;
            this.chk_cctc_taikhoatc.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_cctc_taikhoatc.Location = new System.Drawing.Point(547, 265);
            this.chk_cctc_taikhoatc.Name = "chk_cctc_taikhoatc";
            this.chk_cctc_taikhoatc.Size = new System.Drawing.Size(236, 17);
            this.chk_cctc_taikhoatc.TabIndex = 43;
            this.chk_cctc_taikhoatc.Text = "Chấm công tăng cường tại khoa tăng cường";
            this.chk_cctc_taikhoatc.UseVisualStyleBackColor = true;
            this.chk_cctc_taikhoatc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_cctc_taikhoatc_KeyDown);
            // 
            // chk_sdtgsomtre
            // 
            this.chk_sdtgsomtre.AutoSize = true;
            this.chk_sdtgsomtre.Enabled = false;
            this.chk_sdtgsomtre.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_sdtgsomtre.Location = new System.Drawing.Point(360, 225);
            this.chk_sdtgsomtre.Name = "chk_sdtgsomtre";
            this.chk_sdtgsomtre.Size = new System.Drawing.Size(175, 17);
            this.chk_sdtgsomtre.TabIndex = 34;
            this.chk_sdtgsomtre.Text = "Sử dụng thời gian đi sớm về trễ";
            this.chk_sdtgsomtre.UseVisualStyleBackColor = true;
            this.chk_sdtgsomtre.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_sdtgsomtre_KeyDown);
            // 
            // label157
            // 
            this.label157.AutoSize = true;
            this.label157.ForeColor = System.Drawing.Color.DarkRed;
            this.label157.Location = new System.Drawing.Point(750, 460);
            this.label157.Name = "label157";
            this.label157.Size = new System.Drawing.Size(13, 13);
            this.label157.TabIndex = 141;
            this.label157.Text = "đ";
            // 
            // label156
            // 
            this.label156.AutoSize = true;
            this.label156.ForeColor = System.Drawing.Color.DarkRed;
            this.label156.Location = new System.Drawing.Point(750, 438);
            this.label156.Name = "label156";
            this.label156.Size = new System.Drawing.Size(13, 13);
            this.label156.TabIndex = 141;
            this.label156.Text = "đ";
            // 
            // label151
            // 
            this.label151.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label151.ForeColor = System.Drawing.Color.DarkBlue;
            this.label151.Location = new System.Drawing.Point(681, 320);
            this.label151.Name = "label151";
            this.label151.Size = new System.Drawing.Size(50, 40);
            this.label151.TabIndex = 139;
            this.label151.Text = "Nhập số tiền";
            this.label151.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label152
            // 
            this.label152.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label152.ForeColor = System.Drawing.Color.DarkBlue;
            this.label152.Location = new System.Drawing.Point(729, 320);
            this.label152.Name = "label152";
            this.label152.Size = new System.Drawing.Size(50, 40);
            this.label152.TabIndex = 140;
            this.label152.Text = "Nhập tỷ lệ %";
            this.label152.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label153
            // 
            this.label153.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label153.ForeColor = System.Drawing.Color.DarkBlue;
            this.label153.Location = new System.Drawing.Point(628, 320);
            this.label153.Name = "label153";
            this.label153.Size = new System.Drawing.Size(50, 40);
            this.label153.TabIndex = 137;
            this.label153.Text = "Có sử dụng";
            this.label153.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label154
            // 
            this.label154.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label154.ForeColor = System.Drawing.Color.DarkBlue;
            this.label154.Location = new System.Drawing.Point(551, 325);
            this.label154.Name = "label154";
            this.label154.Size = new System.Drawing.Size(81, 13);
            this.label154.TabIndex = 138;
            this.label154.Text = "Loại phụ cấp";
            this.label154.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_hdbantg
            // 
            this.chk_hdbantg.AutoSize = true;
            this.chk_hdbantg.Location = new System.Drawing.Point(130, 454);
            this.chk_hdbantg.Name = "chk_hdbantg";
            this.chk_hdbantg.Size = new System.Drawing.Size(15, 14);
            this.chk_hdbantg.TabIndex = 65;
            this.chk_hdbantg.UseVisualStyleBackColor = true;
            this.chk_hdbantg.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hdbantg_KeyDown);
            // 
            // chk_luongsp
            // 
            this.chk_luongsp.AutoSize = true;
            this.chk_luongsp.Location = new System.Drawing.Point(441, 454);
            this.chk_luongsp.Name = "chk_luongsp";
            this.chk_luongsp.Size = new System.Drawing.Size(15, 14);
            this.chk_luongsp.TabIndex = 81;
            this.chk_luongsp.UseVisualStyleBackColor = true;
            this.chk_luongsp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_luongsp_KeyDown);
            // 
            // chk_luonghd
            // 
            this.chk_luonghd.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_luonghd.Location = new System.Drawing.Point(547, 146);
            this.chk_luonghd.Name = "chk_luonghd";
            this.chk_luonghd.Size = new System.Drawing.Size(159, 17);
            this.chk_luonghd.TabIndex = 19;
            this.chk_luonghd.Text = "Có sử dụng lương hợp đồng";
            this.chk_luonghd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_luonghd.UseVisualStyleBackColor = true;
            this.chk_luonghd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_luonghd_KeyDown);
            // 
            // txt_tacatruc
            // 
            this.txt_tacatruc.Enabled = false;
            this.txt_tacatruc.Location = new System.Drawing.Point(651, 458);
            this.txt_tacatruc.MaxLength = 12;
            this.txt_tacatruc.Name = "txt_tacatruc";
            this.txt_tacatruc.Size = new System.Drawing.Size(97, 21);
            this.txt_tacatruc.TabIndex = 95;
            this.txt_tacatruc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_tacatruc_KeyPress);
            this.txt_tacatruc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_tacatruc_KeyDown);
            // 
            // txt_pctienan
            // 
            this.txt_pctienan.Enabled = false;
            this.txt_pctienan.Location = new System.Drawing.Point(651, 435);
            this.txt_pctienan.MaxLength = 12;
            this.txt_pctienan.Name = "txt_pctienan";
            this.txt_pctienan.Size = new System.Drawing.Size(97, 21);
            this.txt_pctienan.TabIndex = 94;
            this.txt_pctienan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctienan_KeyPress);
            this.txt_pctienan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctienan_KeyDown);
            // 
            // chk_hsud3
            // 
            this.chk_hsud3.AutoSize = true;
            this.chk_hsud3.Enabled = false;
            this.chk_hsud3.Location = new System.Drawing.Point(501, 380);
            this.chk_hsud3.Name = "chk_hsud3";
            this.chk_hsud3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsud3.TabIndex = 71;
            this.chk_hsud3.UseVisualStyleBackColor = true;
            this.chk_hsud3.CheckedChanged += new System.EventHandler(this.chk_hsud3_CheckedChanged);
            this.chk_hsud3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsud3_KeyDown);
            // 
            // chk_hsud2
            // 
            this.chk_hsud2.AutoSize = true;
            this.chk_hsud2.Enabled = false;
            this.chk_hsud2.Location = new System.Drawing.Point(441, 381);
            this.chk_hsud2.Name = "chk_hsud2";
            this.chk_hsud2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsud2.TabIndex = 70;
            this.chk_hsud2.UseVisualStyleBackColor = true;
            this.chk_hsud2.CheckedChanged += new System.EventHandler(this.chk_hsud2_CheckedChanged);
            this.chk_hsud2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsud2_KeyDown);
            // 
            // chk_pctdt2
            // 
            this.chk_pctdt2.AutoSize = true;
            this.chk_pctdt2.Enabled = false;
            this.chk_pctdt2.Location = new System.Drawing.Point(702, 361);
            this.chk_pctdt2.Name = "chk_pctdt2";
            this.chk_pctdt2.Size = new System.Drawing.Size(15, 14);
            this.chk_pctdt2.TabIndex = 83;
            this.chk_pctdt2.UseVisualStyleBackColor = true;
            this.chk_pctdt2.CheckedChanged += new System.EventHandler(this.chk_pctdt2_CheckedChanged);
            this.chk_pctdt2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctdt2_KeyDown);
            // 
            // chk_pctx2
            // 
            this.chk_pctx2.AutoSize = true;
            this.chk_pctx2.Enabled = false;
            this.chk_pctx2.Location = new System.Drawing.Point(702, 379);
            this.chk_pctx2.Name = "chk_pctx2";
            this.chk_pctx2.Size = new System.Drawing.Size(15, 14);
            this.chk_pctx2.TabIndex = 86;
            this.chk_pctx2.UseVisualStyleBackColor = true;
            this.chk_pctx2.CheckedChanged += new System.EventHandler(this.chk_pctx2_CheckedChanged);
            this.chk_pctx2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctx2_KeyDown);
            // 
            // chk_pctdt3
            // 
            this.chk_pctdt3.AutoSize = true;
            this.chk_pctdt3.Enabled = false;
            this.chk_pctdt3.Location = new System.Drawing.Point(749, 361);
            this.chk_pctdt3.Name = "chk_pctdt3";
            this.chk_pctdt3.Size = new System.Drawing.Size(15, 14);
            this.chk_pctdt3.TabIndex = 84;
            this.chk_pctdt3.UseVisualStyleBackColor = true;
            this.chk_pctdt3.Visible = false;
            this.chk_pctdt3.CheckedChanged += new System.EventHandler(this.chk_pctdt3_CheckedChanged);
            this.chk_pctdt3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctdt3_KeyDown);
            // 
            // chk_pctx3
            // 
            this.chk_pctx3.AutoSize = true;
            this.chk_pctx3.Enabled = false;
            this.chk_pctx3.Location = new System.Drawing.Point(749, 379);
            this.chk_pctx3.Name = "chk_pctx3";
            this.chk_pctx3.Size = new System.Drawing.Size(15, 14);
            this.chk_pctx3.TabIndex = 87;
            this.chk_pctx3.UseVisualStyleBackColor = true;
            this.chk_pctx3.Visible = false;
            this.chk_pctx3.CheckedChanged += new System.EventHandler(this.chk_pctx3_CheckedChanged);
            this.chk_pctx3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctx3_KeyDown);
            // 
            // chk_hstn3
            // 
            this.chk_hstn3.AutoSize = true;
            this.chk_hstn3.Enabled = false;
            this.chk_hstn3.Location = new System.Drawing.Point(233, 438);
            this.chk_hstn3.Name = "chk_hstn3";
            this.chk_hstn3.Size = new System.Drawing.Size(15, 14);
            this.chk_hstn3.TabIndex = 64;
            this.chk_hstn3.UseVisualStyleBackColor = true;
            this.chk_hstn3.Visible = false;
            this.chk_hstn3.CheckedChanged += new System.EventHandler(this.chk_hstn3_CheckedChanged);
            this.chk_hstn3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hstn3_KeyDown);
            // 
            // chk_hstn2
            // 
            this.chk_hstn2.AutoSize = true;
            this.chk_hstn2.Enabled = false;
            this.chk_hstn2.Location = new System.Drawing.Point(182, 439);
            this.chk_hstn2.Name = "chk_hstn2";
            this.chk_hstn2.Size = new System.Drawing.Size(15, 14);
            this.chk_hstn2.TabIndex = 63;
            this.chk_hstn2.UseVisualStyleBackColor = true;
            this.chk_hstn2.CheckedChanged += new System.EventHandler(this.chk_hstn2_CheckedChanged);
            this.chk_hstn2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hstn2_KeyDown);
            // 
            // chk_pcdt2
            // 
            this.chk_pcdt2.AutoSize = true;
            this.chk_pcdt2.Enabled = false;
            this.chk_pcdt2.Location = new System.Drawing.Point(441, 438);
            this.chk_pcdt2.Name = "chk_pcdt2";
            this.chk_pcdt2.Size = new System.Drawing.Size(15, 14);
            this.chk_pcdt2.TabIndex = 79;
            this.chk_pcdt2.UseVisualStyleBackColor = true;
            this.chk_pcdt2.CheckedChanged += new System.EventHandler(this.chk_pcdt2_CheckedChanged);
            this.chk_pcdt2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcdt2_KeyDown);
            // 
            // chk_hsdb2
            // 
            this.chk_hsdb2.AutoSize = true;
            this.chk_hsdb2.Enabled = false;
            this.chk_hsdb2.Location = new System.Drawing.Point(441, 419);
            this.chk_hsdb2.Name = "chk_hsdb2";
            this.chk_hsdb2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdb2.TabIndex = 76;
            this.chk_hsdb2.UseVisualStyleBackColor = true;
            this.chk_hsdb2.CheckedChanged += new System.EventHandler(this.chk_hsdb2_CheckedChanged);
            this.chk_hsdb2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdb2_KeyDown);
            // 
            // chk_pcdt3
            // 
            this.chk_pcdt3.AutoSize = true;
            this.chk_pcdt3.Enabled = false;
            this.chk_pcdt3.Location = new System.Drawing.Point(501, 438);
            this.chk_pcdt3.Name = "chk_pcdt3";
            this.chk_pcdt3.Size = new System.Drawing.Size(15, 14);
            this.chk_pcdt3.TabIndex = 80;
            this.chk_pcdt3.UseVisualStyleBackColor = true;
            this.chk_pcdt3.CheckedChanged += new System.EventHandler(this.chk_pcdt3_CheckedChanged);
            this.chk_pcdt3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcdt3_KeyDown);
            // 
            // chk_hsdb3
            // 
            this.chk_hsdb3.AutoSize = true;
            this.chk_hsdb3.Enabled = false;
            this.chk_hsdb3.Location = new System.Drawing.Point(501, 419);
            this.chk_hsdb3.Name = "chk_hsdb3";
            this.chk_hsdb3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdb3.TabIndex = 77;
            this.chk_hsdb3.UseVisualStyleBackColor = true;
            this.chk_hsdb3.CheckedChanged += new System.EventHandler(this.chk_hsdb3_CheckedChanged);
            this.chk_hsdb3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdb3_KeyDown);
            // 
            // chk_hsdh3
            // 
            this.chk_hsdh3.AutoSize = true;
            this.chk_hsdh3.Enabled = false;
            this.chk_hsdh3.Location = new System.Drawing.Point(233, 399);
            this.chk_hsdh3.Name = "chk_hsdh3";
            this.chk_hsdh3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdh3.TabIndex = 58;
            this.chk_hsdh3.UseVisualStyleBackColor = true;
            this.chk_hsdh3.Visible = false;
            this.chk_hsdh3.CheckedChanged += new System.EventHandler(this.chk_hsdh3_CheckedChanged);
            this.chk_hsdh3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdh3_KeyDown);
            // 
            // chk_hsdh2
            // 
            this.chk_hsdh2.AutoSize = true;
            this.chk_hsdh2.Enabled = false;
            this.chk_hsdh2.Location = new System.Drawing.Point(182, 400);
            this.chk_hsdh2.Name = "chk_hsdh2";
            this.chk_hsdh2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdh2.TabIndex = 57;
            this.chk_hsdh2.UseVisualStyleBackColor = true;
            this.chk_hsdh2.CheckedChanged += new System.EventHandler(this.chk_hsdh2_CheckedChanged);
            this.chk_hsdh2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdh2_KeyDown);
            // 
            // chk_pckh2
            // 
            this.chk_pckh2.AutoSize = true;
            this.chk_pckh2.Enabled = false;
            this.chk_pckh2.Location = new System.Drawing.Point(702, 399);
            this.chk_pckh2.Name = "chk_pckh2";
            this.chk_pckh2.Size = new System.Drawing.Size(15, 14);
            this.chk_pckh2.TabIndex = 89;
            this.chk_pckh2.UseVisualStyleBackColor = true;
            this.chk_pckh2.CheckedChanged += new System.EventHandler(this.chk_pckh2_CheckedChanged);
            this.chk_pckh2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pckh2_KeyDown);
            // 
            // chk_pckh3
            // 
            this.chk_pckh3.AutoSize = true;
            this.chk_pckh3.Enabled = false;
            this.chk_pckh3.Location = new System.Drawing.Point(749, 399);
            this.chk_pckh3.Name = "chk_pckh3";
            this.chk_pckh3.Size = new System.Drawing.Size(15, 14);
            this.chk_pckh3.TabIndex = 90;
            this.chk_pckh3.UseVisualStyleBackColor = true;
            this.chk_pckh3.Visible = false;
            this.chk_pckh3.CheckedChanged += new System.EventHandler(this.chk_pckh3_CheckedChanged);
            this.chk_pckh3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pckh3_KeyDown);
            // 
            // chk_hskv3
            // 
            this.chk_hskv3.AutoSize = true;
            this.chk_hskv3.Enabled = false;
            this.chk_hskv3.Location = new System.Drawing.Point(501, 361);
            this.chk_hskv3.Name = "chk_hskv3";
            this.chk_hskv3.Size = new System.Drawing.Size(15, 14);
            this.chk_hskv3.TabIndex = 68;
            this.chk_hskv3.UseVisualStyleBackColor = true;
            this.chk_hskv3.Visible = false;
            this.chk_hskv3.CheckedChanged += new System.EventHandler(this.chk_hskv3_CheckedChanged);
            this.chk_hskv3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hskv3_KeyDown);
            // 
            // chk_hskv2
            // 
            this.chk_hskv2.AutoSize = true;
            this.chk_hskv2.Enabled = false;
            this.chk_hskv2.Location = new System.Drawing.Point(441, 362);
            this.chk_hskv2.Name = "chk_hskv2";
            this.chk_hskv2.Size = new System.Drawing.Size(15, 14);
            this.chk_hskv2.TabIndex = 67;
            this.chk_hskv2.UseVisualStyleBackColor = true;
            this.chk_hskv2.CheckedChanged += new System.EventHandler(this.chk_hskv2_CheckedChanged);
            this.chk_hskv2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hskv2_KeyDown);
            // 
            // chk_pcta2
            // 
            this.chk_pcta2.AutoSize = true;
            this.chk_pcta2.Enabled = false;
            this.chk_pcta2.Location = new System.Drawing.Point(702, 418);
            this.chk_pcta2.Name = "chk_pcta2";
            this.chk_pcta2.Size = new System.Drawing.Size(15, 14);
            this.chk_pcta2.TabIndex = 92;
            this.chk_pcta2.UseVisualStyleBackColor = true;
            this.chk_pcta2.CheckedChanged += new System.EventHandler(this.chk_pcta2_CheckedChanged);
            this.chk_pcta2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcta2_KeyDown);
            // 
            // chk_pcta3
            // 
            this.chk_pcta3.AutoSize = true;
            this.chk_pcta3.Enabled = false;
            this.chk_pcta3.Location = new System.Drawing.Point(749, 418);
            this.chk_pcta3.Name = "chk_pcta3";
            this.chk_pcta3.Size = new System.Drawing.Size(15, 14);
            this.chk_pcta3.TabIndex = 93;
            this.chk_pcta3.UseVisualStyleBackColor = true;
            this.chk_pcta3.Visible = false;
            this.chk_pcta3.CheckedChanged += new System.EventHandler(this.chk_pcta3_CheckedChanged);
            this.chk_pcta3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcta3_KeyDown);
            // 
            // chk_hsth3
            // 
            this.chk_hsth3.AutoSize = true;
            this.chk_hsth3.Enabled = false;
            this.chk_hsth3.Location = new System.Drawing.Point(233, 419);
            this.chk_hsth3.Name = "chk_hsth3";
            this.chk_hsth3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsth3.TabIndex = 61;
            this.chk_hsth3.UseVisualStyleBackColor = true;
            this.chk_hsth3.Visible = false;
            this.chk_hsth3.CheckedChanged += new System.EventHandler(this.chk_hsth3_CheckedChanged);
            this.chk_hsth3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsth3_KeyDown);
            // 
            // chk_hsth2
            // 
            this.chk_hsth2.AutoSize = true;
            this.chk_hsth2.Enabled = false;
            this.chk_hsth2.Location = new System.Drawing.Point(182, 420);
            this.chk_hsth2.Name = "chk_hsth2";
            this.chk_hsth2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsth2.TabIndex = 60;
            this.chk_hsth2.UseVisualStyleBackColor = true;
            this.chk_hsth2.CheckedChanged += new System.EventHandler(this.chk_hsth2_CheckedChanged);
            this.chk_hsth2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsth2_KeyDown);
            // 
            // chk_hsld2
            // 
            this.chk_hsld2.AutoSize = true;
            this.chk_hsld2.Enabled = false;
            this.chk_hsld2.Location = new System.Drawing.Point(441, 400);
            this.chk_hsld2.Name = "chk_hsld2";
            this.chk_hsld2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsld2.TabIndex = 73;
            this.chk_hsld2.UseVisualStyleBackColor = true;
            this.chk_hsld2.CheckedChanged += new System.EventHandler(this.chk_hsld2_CheckedChanged);
            this.chk_hsld2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsld2_KeyDown);
            // 
            // chk_hsld3
            // 
            this.chk_hsld3.AutoSize = true;
            this.chk_hsld3.Enabled = false;
            this.chk_hsld3.Location = new System.Drawing.Point(501, 400);
            this.chk_hsld3.Name = "chk_hsld3";
            this.chk_hsld3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsld3.TabIndex = 74;
            this.chk_hsld3.UseVisualStyleBackColor = true;
            this.chk_hsld3.Visible = false;
            this.chk_hsld3.CheckedChanged += new System.EventHandler(this.chk_hsld3_CheckedChanged);
            this.chk_hsld3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsld3_KeyDown);
            // 
            // chk_hsvk3
            // 
            this.chk_hsvk3.AutoSize = true;
            this.chk_hsvk3.Enabled = false;
            this.chk_hsvk3.Location = new System.Drawing.Point(233, 361);
            this.chk_hsvk3.Name = "chk_hsvk3";
            this.chk_hsvk3.Size = new System.Drawing.Size(15, 14);
            this.chk_hsvk3.TabIndex = 52;
            this.chk_hsvk3.UseVisualStyleBackColor = true;
            this.chk_hsvk3.CheckedChanged += new System.EventHandler(this.chk_hsvk3_CheckedChanged);
            this.chk_hsvk3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsvk3_KeyDown);
            // 
            // chk_hscv3
            // 
            this.chk_hscv3.AutoSize = true;
            this.chk_hscv3.Enabled = false;
            this.chk_hscv3.Location = new System.Drawing.Point(233, 380);
            this.chk_hscv3.Name = "chk_hscv3";
            this.chk_hscv3.Size = new System.Drawing.Size(15, 14);
            this.chk_hscv3.TabIndex = 55;
            this.chk_hscv3.UseVisualStyleBackColor = true;
            this.chk_hscv3.Visible = false;
            this.chk_hscv3.CheckedChanged += new System.EventHandler(this.chk_hscv3_CheckedChanged);
            this.chk_hscv3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hscv3_KeyDown);
            // 
            // chk_hsvk2
            // 
            this.chk_hsvk2.AutoSize = true;
            this.chk_hsvk2.Enabled = false;
            this.chk_hsvk2.Location = new System.Drawing.Point(182, 362);
            this.chk_hsvk2.Name = "chk_hsvk2";
            this.chk_hsvk2.Size = new System.Drawing.Size(15, 14);
            this.chk_hsvk2.TabIndex = 51;
            this.chk_hsvk2.UseVisualStyleBackColor = true;
            this.chk_hsvk2.CheckedChanged += new System.EventHandler(this.chk_hsvk2_CheckedChanged);
            this.chk_hsvk2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsvk2_KeyDown);
            // 
            // chk_hscv2
            // 
            this.chk_hscv2.AutoSize = true;
            this.chk_hscv2.Enabled = false;
            this.chk_hscv2.Location = new System.Drawing.Point(182, 381);
            this.chk_hscv2.Name = "chk_hscv2";
            this.chk_hscv2.Size = new System.Drawing.Size(15, 14);
            this.chk_hscv2.TabIndex = 54;
            this.chk_hscv2.UseVisualStyleBackColor = true;
            this.chk_hscv2.CheckedChanged += new System.EventHandler(this.chk_hscv2_CheckedChanged);
            this.chk_hscv2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hscv2_KeyDown);
            // 
            // chk_hsud1
            // 
            this.chk_hsud1.AutoSize = true;
            this.chk_hsud1.Location = new System.Drawing.Point(390, 380);
            this.chk_hsud1.Name = "chk_hsud1";
            this.chk_hsud1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsud1.TabIndex = 69;
            this.chk_hsud1.UseVisualStyleBackColor = true;
            this.chk_hsud1.CheckedChanged += new System.EventHandler(this.chk_hsud1_CheckedChanged);
            this.chk_hsud1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsud1_KeyDown);
            // 
            // chk_pctdt1
            // 
            this.chk_pctdt1.AutoSize = true;
            this.chk_pctdt1.Location = new System.Drawing.Point(651, 360);
            this.chk_pctdt1.Name = "chk_pctdt1";
            this.chk_pctdt1.Size = new System.Drawing.Size(15, 14);
            this.chk_pctdt1.TabIndex = 82;
            this.chk_pctdt1.UseVisualStyleBackColor = true;
            this.chk_pctdt1.CheckedChanged += new System.EventHandler(this.chk_pctdt1_CheckedChanged);
            this.chk_pctdt1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctdt1_KeyDown);
            // 
            // chk_pctx1
            // 
            this.chk_pctx1.AutoSize = true;
            this.chk_pctx1.Location = new System.Drawing.Point(651, 378);
            this.chk_pctx1.Name = "chk_pctx1";
            this.chk_pctx1.Size = new System.Drawing.Size(15, 14);
            this.chk_pctx1.TabIndex = 85;
            this.chk_pctx1.UseVisualStyleBackColor = true;
            this.chk_pctx1.CheckedChanged += new System.EventHandler(this.chk_pctx1_CheckedChanged);
            this.chk_pctx1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pctx1_KeyDown);
            // 
            // chk_hstn1
            // 
            this.chk_hstn1.AutoSize = true;
            this.chk_hstn1.Location = new System.Drawing.Point(130, 438);
            this.chk_hstn1.Name = "chk_hstn1";
            this.chk_hstn1.Size = new System.Drawing.Size(15, 14);
            this.chk_hstn1.TabIndex = 62;
            this.chk_hstn1.UseVisualStyleBackColor = true;
            this.chk_hstn1.CheckedChanged += new System.EventHandler(this.chk_hstn1_CheckedChanged);
            this.chk_hstn1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hstn1_KeyDown);
            // 
            // chk_pcdt1
            // 
            this.chk_pcdt1.AutoSize = true;
            this.chk_pcdt1.Location = new System.Drawing.Point(390, 437);
            this.chk_pcdt1.Name = "chk_pcdt1";
            this.chk_pcdt1.Size = new System.Drawing.Size(15, 14);
            this.chk_pcdt1.TabIndex = 78;
            this.chk_pcdt1.UseVisualStyleBackColor = true;
            this.chk_pcdt1.CheckedChanged += new System.EventHandler(this.chk_pcdt1_CheckedChanged);
            this.chk_pcdt1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcdt1_KeyDown);
            // 
            // chk_hsdb1
            // 
            this.chk_hsdb1.AutoSize = true;
            this.chk_hsdb1.Location = new System.Drawing.Point(390, 418);
            this.chk_hsdb1.Name = "chk_hsdb1";
            this.chk_hsdb1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdb1.TabIndex = 75;
            this.chk_hsdb1.UseVisualStyleBackColor = true;
            this.chk_hsdb1.CheckedChanged += new System.EventHandler(this.chk_hsdb1_CheckedChanged);
            this.chk_hsdb1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdb1_KeyDown);
            // 
            // chk_hsdh1
            // 
            this.chk_hsdh1.AutoSize = true;
            this.chk_hsdh1.Location = new System.Drawing.Point(130, 399);
            this.chk_hsdh1.Name = "chk_hsdh1";
            this.chk_hsdh1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsdh1.TabIndex = 56;
            this.chk_hsdh1.UseVisualStyleBackColor = true;
            this.chk_hsdh1.CheckedChanged += new System.EventHandler(this.chk_hsdh1_CheckedChanged);
            this.chk_hsdh1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdh1_KeyDown);
            // 
            // chk_pckh1
            // 
            this.chk_pckh1.AutoSize = true;
            this.chk_pckh1.Location = new System.Drawing.Point(651, 398);
            this.chk_pckh1.Name = "chk_pckh1";
            this.chk_pckh1.Size = new System.Drawing.Size(15, 14);
            this.chk_pckh1.TabIndex = 88;
            this.chk_pckh1.UseVisualStyleBackColor = true;
            this.chk_pckh1.CheckedChanged += new System.EventHandler(this.chk_pckh1_CheckedChanged);
            this.chk_pckh1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pckh1_KeyDown);
            // 
            // chk_hskv1
            // 
            this.chk_hskv1.AutoSize = true;
            this.chk_hskv1.Location = new System.Drawing.Point(390, 361);
            this.chk_hskv1.Name = "chk_hskv1";
            this.chk_hskv1.Size = new System.Drawing.Size(15, 14);
            this.chk_hskv1.TabIndex = 66;
            this.chk_hskv1.UseVisualStyleBackColor = true;
            this.chk_hskv1.CheckedChanged += new System.EventHandler(this.chk_hskv1_CheckedChanged);
            this.chk_hskv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hskv1_KeyDown);
            // 
            // chk_pcta1
            // 
            this.chk_pcta1.AutoSize = true;
            this.chk_pcta1.Location = new System.Drawing.Point(651, 417);
            this.chk_pcta1.Name = "chk_pcta1";
            this.chk_pcta1.Size = new System.Drawing.Size(15, 14);
            this.chk_pcta1.TabIndex = 91;
            this.chk_pcta1.UseVisualStyleBackColor = true;
            this.chk_pcta1.CheckedChanged += new System.EventHandler(this.chk_pcta1_CheckedChanged);
            this.chk_pcta1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_pcta1_KeyDown);
            // 
            // chk_hsth1
            // 
            this.chk_hsth1.AutoSize = true;
            this.chk_hsth1.Location = new System.Drawing.Point(130, 419);
            this.chk_hsth1.Name = "chk_hsth1";
            this.chk_hsth1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsth1.TabIndex = 59;
            this.chk_hsth1.UseVisualStyleBackColor = true;
            this.chk_hsth1.CheckedChanged += new System.EventHandler(this.chk_hsth1_CheckedChanged);
            this.chk_hsth1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsth1_KeyDown);
            // 
            // chk_hsld1
            // 
            this.chk_hsld1.AutoSize = true;
            this.chk_hsld1.Location = new System.Drawing.Point(390, 399);
            this.chk_hsld1.Name = "chk_hsld1";
            this.chk_hsld1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsld1.TabIndex = 72;
            this.chk_hsld1.UseVisualStyleBackColor = true;
            this.chk_hsld1.CheckedChanged += new System.EventHandler(this.chk_hsld1_CheckedChanged);
            this.chk_hsld1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsld1_KeyDown);
            // 
            // chk_hsvk1
            // 
            this.chk_hsvk1.AutoSize = true;
            this.chk_hsvk1.Location = new System.Drawing.Point(130, 361);
            this.chk_hsvk1.Name = "chk_hsvk1";
            this.chk_hsvk1.Size = new System.Drawing.Size(15, 14);
            this.chk_hsvk1.TabIndex = 50;
            this.chk_hsvk1.UseVisualStyleBackColor = true;
            this.chk_hsvk1.CheckedChanged += new System.EventHandler(this.chk_hsvk1_CheckedChanged);
            this.chk_hsvk1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsvk1_KeyDown);
            // 
            // chk_hscv1
            // 
            this.chk_hscv1.AutoSize = true;
            this.chk_hscv1.Location = new System.Drawing.Point(130, 380);
            this.chk_hscv1.Name = "chk_hscv1";
            this.chk_hscv1.Size = new System.Drawing.Size(15, 14);
            this.chk_hscv1.TabIndex = 53;
            this.chk_hscv1.UseVisualStyleBackColor = true;
            this.chk_hscv1.CheckedChanged += new System.EventHandler(this.chk_hscv1_CheckedChanged);
            this.chk_hscv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hscv1_KeyDown);
            // 
            // label130
            // 
            this.label130.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label130.ForeColor = System.Drawing.Color.DarkBlue;
            this.label130.Location = new System.Drawing.Point(424, 320);
            this.label130.Name = "label130";
            this.label130.Size = new System.Drawing.Size(50, 40);
            this.label130.TabIndex = 135;
            this.label130.Text = "Nhập số tiền";
            this.label130.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label131
            // 
            this.label131.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label131.ForeColor = System.Drawing.Color.DarkBlue;
            this.label131.Location = new System.Drawing.Point(484, 320);
            this.label131.Name = "label131";
            this.label131.Size = new System.Drawing.Size(50, 40);
            this.label131.TabIndex = 135;
            this.label131.Text = "Nhập tỷ lệ %";
            this.label131.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label127
            // 
            this.label127.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label127.ForeColor = System.Drawing.Color.DarkBlue;
            this.label127.Location = new System.Drawing.Point(217, 320);
            this.label127.Name = "label127";
            this.label127.Size = new System.Drawing.Size(50, 40);
            this.label127.TabIndex = 135;
            this.label127.Text = "Nhập tỷ lệ %";
            this.label127.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label116
            // 
            this.label116.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label116.ForeColor = System.Drawing.Color.DarkBlue;
            this.label116.Location = new System.Drawing.Point(163, 320);
            this.label116.Name = "label116";
            this.label116.Size = new System.Drawing.Size(50, 40);
            this.label116.TabIndex = 135;
            this.label116.Text = "Nhập số tiền";
            this.label116.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label129
            // 
            this.label129.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label129.ForeColor = System.Drawing.Color.DarkBlue;
            this.label129.Location = new System.Drawing.Point(375, 320);
            this.label129.Name = "label129";
            this.label129.Size = new System.Drawing.Size(50, 40);
            this.label129.TabIndex = 135;
            this.label129.Text = "Có sử dụng";
            this.label129.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label115
            // 
            this.label115.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label115.ForeColor = System.Drawing.Color.DarkBlue;
            this.label115.Location = new System.Drawing.Point(114, 321);
            this.label115.Name = "label115";
            this.label115.Size = new System.Drawing.Size(50, 40);
            this.label115.TabIndex = 135;
            this.label115.Text = "Có sử dụng";
            this.label115.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label128
            // 
            this.label128.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label128.ForeColor = System.Drawing.Color.DarkBlue;
            this.label128.Location = new System.Drawing.Point(279, 325);
            this.label128.Name = "label128";
            this.label128.Size = new System.Drawing.Size(81, 13);
            this.label128.TabIndex = 135;
            this.label128.Text = "Loại phụ cấp";
            this.label128.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label114
            // 
            this.label114.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label114.ForeColor = System.Drawing.Color.DarkBlue;
            this.label114.Location = new System.Drawing.Point(8, 325);
            this.label114.Name = "label114";
            this.label114.Size = new System.Drawing.Size(81, 13);
            this.label114.TabIndex = 135;
            this.label114.Text = "Loại phụ cấp";
            this.label114.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_ngachdn
            // 
            this.chk_ngachdn.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ngachdn.Location = new System.Drawing.Point(615, 173);
            this.chk_ngachdn.Name = "chk_ngachdn";
            this.chk_ngachdn.Size = new System.Drawing.Size(166, 17);
            this.chk_ngachdn.TabIndex = 23;
            this.chk_ngachdn.Text = "Sử dụng ngạch doanh nghiệp";
            this.chk_ngachdn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_ngachdn.UseVisualStyleBackColor = true;
            this.chk_ngachdn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ngachdn_KeyDown);
            // 
            // label112
            // 
            this.label112.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label112.ForeColor = System.Drawing.Color.DarkBlue;
            this.label112.Location = new System.Drawing.Point(9, 307);
            this.label112.Name = "label112";
            this.label112.Size = new System.Drawing.Size(209, 13);
            this.label112.TabIndex = 133;
            this.label112.Text = "Thông số phần nhập hệ số phụ cấp\r\n";
            this.label112.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_sohieutkvn
            // 
            this.txt_sohieutkvn.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_sohieutkvn.ForeColor = System.Drawing.Color.Navy;
            this.txt_sohieutkvn.Location = new System.Drawing.Point(97, 75);
            this.txt_sohieutkvn.MaxLength = 25;
            this.txt_sohieutkvn.Name = "txt_sohieutkvn";
            this.txt_sohieutkvn.Size = new System.Drawing.Size(167, 23);
            this.txt_sohieutkvn.TabIndex = 9;
            this.txt_sohieutkvn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_sohieutkvn_KeyDown);
            // 
            // label96
            // 
            this.label96.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label96.ForeColor = System.Drawing.Color.Navy;
            this.label96.Location = new System.Drawing.Point(288, 80);
            this.label96.Name = "label96";
            this.label96.Size = new System.Drawing.Size(53, 13);
            this.label96.TabIndex = 131;
            this.label96.Text = "MS thuế :";
            this.label96.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label97
            // 
            this.label97.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label97.ForeColor = System.Drawing.Color.Navy;
            this.label97.Location = new System.Drawing.Point(455, 56);
            this.label97.Name = "label97";
            this.label97.Size = new System.Drawing.Size(89, 13);
            this.label97.TabIndex = 130;
            this.label97.Text = "Số thuế đăng ký:";
            this.label97.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label98
            // 
            this.label98.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label98.ForeColor = System.Drawing.Color.Navy;
            this.label98.Location = new System.Drawing.Point(3, 80);
            this.label98.Name = "label98";
            this.label98.Size = new System.Drawing.Size(93, 13);
            this.label98.TabIndex = 132;
            this.label98.Text = "Số hiệu tài khoản:";
            this.label98.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label99
            // 
            this.label99.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label99.ForeColor = System.Drawing.Color.Navy;
            this.label99.Location = new System.Drawing.Point(6, 55);
            this.label99.Name = "label99";
            this.label99.Size = new System.Drawing.Size(90, 13);
            this.label99.TabIndex = 128;
            this.label99.Text = "Nơi mở tài khoản:";
            this.label99.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // btnc_thoat
            // 
            this.btnc_thoat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnc_thoat.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnc_thoat.Image = global::Human.Properties.Resources.close_r;
            this.btnc_thoat.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnc_thoat.Location = new System.Drawing.Point(483, 476);
            this.btnc_thoat.Name = "btnc_thoat";
            this.btnc_thoat.Size = new System.Drawing.Size(65, 28);
            this.btnc_thoat.TabIndex = 103;
            this.btnc_thoat.Text = "  &Thoát";
            this.btnc_thoat.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnc_thoat.UseVisualStyleBackColor = true;
            this.btnc_thoat.Click += new System.EventHandler(this.btnc_thoat_Click);
            // 
            // btnc_boqua
            // 
            this.btnc_boqua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnc_boqua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnc_boqua.Image = global::Human.Properties.Resources.undo_2005;
            this.btnc_boqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnc_boqua.Location = new System.Drawing.Point(416, 476);
            this.btnc_boqua.Name = "btnc_boqua";
            this.btnc_boqua.Size = new System.Drawing.Size(65, 28);
            this.btnc_boqua.TabIndex = 102;
            this.btnc_boqua.Text = "&Bỏ qua";
            this.btnc_boqua.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnc_boqua.UseVisualStyleBackColor = true;
            this.btnc_boqua.Click += new System.EventHandler(this.btnc_boqua_Click);
            // 
            // btnc_sua
            // 
            this.btnc_sua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnc_sua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnc_sua.Image = global::Human.Properties.Resources.quick_edit;
            this.btnc_sua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnc_sua.Location = new System.Drawing.Point(347, 476);
            this.btnc_sua.Name = "btnc_sua";
            this.btnc_sua.Size = new System.Drawing.Size(65, 28);
            this.btnc_sua.TabIndex = 101;
            this.btnc_sua.Text = "  &Sửa";
            this.btnc_sua.UseVisualStyleBackColor = true;
            this.btnc_sua.Click += new System.EventHandler(this.btnc_sua_Click);
            // 
            // btnc_luu
            // 
            this.btnc_luu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnc_luu.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnc_luu.Image = global::Human.Properties.Resources.save;
            this.btnc_luu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnc_luu.Location = new System.Drawing.Point(278, 476);
            this.btnc_luu.Name = "btnc_luu";
            this.btnc_luu.Size = new System.Drawing.Size(65, 28);
            this.btnc_luu.TabIndex = 100;
            this.btnc_luu.Text = "  &Lưu";
            this.btnc_luu.UseVisualStyleBackColor = true;
            this.btnc_luu.Click += new System.EventHandler(this.btnc_luu_Click);
            // 
            // dtp_gioccchieu
            // 
            this.dtp_gioccchieu.CustomFormat = "HH:mm";
            this.dtp_gioccchieu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtp_gioccchieu.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtp_gioccchieu.Location = new System.Drawing.Point(715, 242);
            this.dtp_gioccchieu.Name = "dtp_gioccchieu";
            this.dtp_gioccchieu.Size = new System.Drawing.Size(56, 21);
            this.dtp_gioccchieu.TabIndex = 39;
            this.dtp_gioccchieu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dtp_gioccchieu_KeyDown);
            // 
            // label84
            // 
            this.label84.ForeColor = System.Drawing.Color.DarkBlue;
            this.label84.Location = new System.Drawing.Point(546, 246);
            this.label84.Name = "label84";
            this.label84.Size = new System.Drawing.Size(171, 13);
            this.label84.TabIndex = 119;
            this.label84.Text = "Giờ bắt đầu chấm công buổi chiều:";
            this.label84.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label76
            // 
            this.label76.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label76.ForeColor = System.Drawing.Color.DarkBlue;
            this.label76.Location = new System.Drawing.Point(9, 210);
            this.label76.Name = "label76";
            this.label76.Size = new System.Drawing.Size(158, 13);
            this.label76.TabIndex = 91;
            this.label76.Text = "Thông số phần chấm công";
            this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_ccthuongquy
            // 
            this.chk_ccthuongquy.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ccthuongquy.Location = new System.Drawing.Point(360, 245);
            this.chk_ccthuongquy.Name = "chk_ccthuongquy";
            this.chk_ccthuongquy.Size = new System.Drawing.Size(161, 17);
            this.chk_ccthuongquy.TabIndex = 38;
            this.chk_ccthuongquy.Text = "Chấm công trực thường quy";
            this.chk_ccthuongquy.UseVisualStyleBackColor = true;
            this.chk_ccthuongquy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ccthuongquy_KeyDown);
            // 
            // chk_cctructc
            // 
            this.chk_cctructc.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_cctructc.Location = new System.Drawing.Point(196, 245);
            this.chk_cctructc.Name = "chk_cctructc";
            this.chk_cctructc.Size = new System.Drawing.Size(160, 17);
            this.chk_cctructc.TabIndex = 37;
            this.chk_cctructc.Text = "Chấm công trực tăng cường";
            this.chk_cctructc.UseVisualStyleBackColor = true;
            this.chk_cctructc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_cctructc_KeyDown);
            // 
            // chk_nhapmacc
            // 
            this.chk_nhapmacc.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_nhapmacc.Location = new System.Drawing.Point(485, 173);
            this.chk_nhapmacc.Name = "chk_nhapmacc";
            this.chk_nhapmacc.Size = new System.Drawing.Size(131, 17);
            this.chk_nhapmacc.TabIndex = 22;
            this.chk_nhapmacc.Text = "Nhập mã cc nhân viên";
            this.chk_nhapmacc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_nhapmacc.UseVisualStyleBackColor = true;
            this.chk_nhapmacc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_nhapmacc_KeyDown);
            // 
            // chk_cccuoituan
            // 
            this.chk_cccuoituan.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_cccuoituan.Location = new System.Drawing.Point(12, 245);
            this.chk_cccuoituan.Name = "chk_cccuoituan";
            this.chk_cccuoituan.Size = new System.Drawing.Size(135, 17);
            this.chk_cccuoituan.TabIndex = 36;
            this.chk_cccuoituan.Text = "Chấm công ngày thứ 7";
            this.chk_cccuoituan.UseVisualStyleBackColor = true;
            this.chk_cccuoituan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_cccuoituan_KeyDown);
            // 
            // cbo_matt
            // 
            this.cbo_matt.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cbo_matt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbo_matt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_matt.Location = new System.Drawing.Point(87, 5);
            this.cbo_matt.Name = "cbo_matt";
            this.cbo_matt.Size = new System.Drawing.Size(177, 21);
            this.cbo_matt.TabIndex = 1;
            this.cbo_matt.Validated += new System.EventHandler(this.cbo_matt_Validated);
            this.cbo_matt.SelectedIndexChanged += new System.EventHandler(this.cbo_matt_SelectedIndexChanged);
            this.cbo_matt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbo_matt_KeyDown);
            // 
            // chk_dgkqcc
            // 
            this.chk_dgkqcc.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_dgkqcc.Location = new System.Drawing.Point(268, 173);
            this.chk_dgkqcc.Name = "chk_dgkqcc";
            this.chk_dgkqcc.Size = new System.Drawing.Size(180, 17);
            this.chk_dgkqcc.TabIndex = 21;
            this.chk_dgkqcc.Text = "Xem đánh giá cán bộ công chức ";
            this.chk_dgkqcc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_dgkqcc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_dgkqcc_KeyDown);
            // 
            // txt_website
            // 
            this.txt_website.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_website.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_website.Location = new System.Drawing.Point(87, 101);
            this.txt_website.Name = "txt_website";
            this.txt_website.Size = new System.Drawing.Size(177, 21);
            this.txt_website.TabIndex = 11;
            this.txt_website.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_website_KeyDown);
            // 
            // txt_fax
            // 
            this.txt_fax.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_fax.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_fax.Location = new System.Drawing.Point(547, 101);
            this.txt_fax.MaxLength = 50;
            this.txt_fax.Name = "txt_fax";
            this.txt_fax.Size = new System.Drawing.Size(225, 21);
            this.txt_fax.TabIndex = 13;
            this.txt_fax.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_fax_KeyPress);
            this.txt_fax.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_fax_KeyDown);
            // 
            // txt_dienthoai
            // 
            this.txt_dienthoai.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_dienthoai.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_dienthoai.Location = new System.Drawing.Point(342, 101);
            this.txt_dienthoai.MaxLength = 50;
            this.txt_dienthoai.Name = "txt_dienthoai";
            this.txt_dienthoai.Size = new System.Drawing.Size(139, 21);
            this.txt_dienthoai.TabIndex = 12;
            this.txt_dienthoai.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_dienthoai_KeyPress);
            this.txt_dienthoai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_dienthoai_KeyDown);
            // 
            // label159
            // 
            this.label159.ForeColor = System.Drawing.Color.DarkBlue;
            this.label159.Location = new System.Drawing.Point(540, 356);
            this.label159.Name = "label159";
            this.label159.Size = new System.Drawing.Size(106, 18);
            this.label159.TabIndex = 90;
            this.label159.Text = "PC tiền điện thoại:";
            this.label159.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label126
            // 
            this.label126.ForeColor = System.Drawing.Color.DarkBlue;
            this.label126.Location = new System.Drawing.Point(540, 378);
            this.label126.Name = "label126";
            this.label126.Size = new System.Drawing.Size(106, 14);
            this.label126.TabIndex = 90;
            this.label126.Text = "Phụ cấp tiền xăng:";
            this.label126.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label121
            // 
            this.label121.ForeColor = System.Drawing.Color.DarkBlue;
            this.label121.Location = new System.Drawing.Point(269, 380);
            this.label121.Name = "label121";
            this.label121.Size = new System.Drawing.Size(118, 14);
            this.label121.TabIndex = 90;
            this.label121.Text = "Phụ cấp ưu đãi ngành:\r\n";
            this.label121.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label160
            // 
            this.label160.ForeColor = System.Drawing.Color.DarkBlue;
            this.label160.Location = new System.Drawing.Point(269, 438);
            this.label160.Name = "label160";
            this.label160.Size = new System.Drawing.Size(114, 13);
            this.label160.TabIndex = 90;
            this.label160.Text = "Phụ cấp đặc thù:";
            this.label160.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label125
            // 
            this.label125.ForeColor = System.Drawing.Color.DarkBlue;
            this.label125.Location = new System.Drawing.Point(269, 419);
            this.label125.Name = "label125";
            this.label125.Size = new System.Drawing.Size(114, 13);
            this.label125.TabIndex = 90;
            this.label125.Text = "Phụ cấp đặc biệt:";
            this.label125.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label119
            // 
            this.label119.ForeColor = System.Drawing.Color.DarkBlue;
            this.label119.Location = new System.Drawing.Point(8, 439);
            this.label119.Name = "label119";
            this.label119.Size = new System.Drawing.Size(118, 13);
            this.label119.TabIndex = 90;
            this.label119.Text = "Phụ cấp trách nhiệm:";
            this.label119.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label155
            // 
            this.label155.ForeColor = System.Drawing.Color.DarkBlue;
            this.label155.Location = new System.Drawing.Point(540, 459);
            this.label155.Name = "label155";
            this.label155.Size = new System.Drawing.Size(106, 16);
            this.label155.TabIndex = 90;
            this.label155.Text = "PC tiền ăn ca trực";
            this.label155.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label141
            // 
            this.label141.ForeColor = System.Drawing.Color.DarkBlue;
            this.label141.Location = new System.Drawing.Point(540, 439);
            this.label141.Name = "label141";
            this.label141.Size = new System.Drawing.Size(106, 12);
            this.label141.TabIndex = 90;
            this.label141.Text = "PC tiền ăn:";
            this.label141.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label150
            // 
            this.label150.ForeColor = System.Drawing.Color.DarkBlue;
            this.label150.Location = new System.Drawing.Point(269, 453);
            this.label150.Name = "label150";
            this.label150.Size = new System.Drawing.Size(132, 15);
            this.label150.TabIndex = 90;
            this.label150.Text = "Sử dụng lương sản phẩm:";
            this.label150.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label149
            // 
            this.label149.ForeColor = System.Drawing.Color.DarkBlue;
            this.label149.Location = new System.Drawing.Point(9, 453);
            this.label149.Name = "label149";
            this.label149.Size = new System.Drawing.Size(115, 15);
            this.label149.TabIndex = 90;
            this.label149.Text = "Hợp đồng bán thời gian:";
            this.label149.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label124
            // 
            this.label124.ForeColor = System.Drawing.Color.DarkBlue;
            this.label124.Location = new System.Drawing.Point(540, 398);
            this.label124.Name = "label124";
            this.label124.Size = new System.Drawing.Size(106, 14);
            this.label124.TabIndex = 90;
            this.label124.Text = "Phụ cấp khác:";
            this.label124.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label117
            // 
            this.label117.ForeColor = System.Drawing.Color.DarkBlue;
            this.label117.Location = new System.Drawing.Point(8, 399);
            this.label117.Name = "label117";
            this.label117.Size = new System.Drawing.Size(118, 14);
            this.label117.TabIndex = 90;
            this.label117.Text = "Phụ cấp độc hại:";
            this.label117.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label123
            // 
            this.label123.ForeColor = System.Drawing.Color.DarkBlue;
            this.label123.Location = new System.Drawing.Point(540, 417);
            this.label123.Name = "label123";
            this.label123.Size = new System.Drawing.Size(106, 14);
            this.label123.TabIndex = 90;
            this.label123.Text = "Phụ cấp tiền ăn:";
            this.label123.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label120
            // 
            this.label120.ForeColor = System.Drawing.Color.DarkBlue;
            this.label120.Location = new System.Drawing.Point(269, 361);
            this.label120.Name = "label120";
            this.label120.Size = new System.Drawing.Size(118, 14);
            this.label120.TabIndex = 90;
            this.label120.Text = "Phụ cấp khu vực:";
            this.label120.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label122
            // 
            this.label122.ForeColor = System.Drawing.Color.DarkBlue;
            this.label122.Location = new System.Drawing.Point(269, 400);
            this.label122.Name = "label122";
            this.label122.Size = new System.Drawing.Size(114, 13);
            this.label122.TabIndex = 90;
            this.label122.Text = "Phụ cấp lưu động:";
            this.label122.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label118
            // 
            this.label118.ForeColor = System.Drawing.Color.DarkBlue;
            this.label118.Location = new System.Drawing.Point(8, 417);
            this.label118.Name = "label118";
            this.label118.Size = new System.Drawing.Size(118, 16);
            this.label118.TabIndex = 90;
            this.label118.Text = "Phụ cấp thu hút:";
            this.label118.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label158
            // 
            this.label158.ForeColor = System.Drawing.Color.DarkBlue;
            this.label158.Location = new System.Drawing.Point(8, 362);
            this.label158.Name = "label158";
            this.label158.Size = new System.Drawing.Size(118, 13);
            this.label158.TabIndex = 90;
            this.label158.Text = "Phụ cấp vượt khung:";
            this.label158.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label113
            // 
            this.label113.ForeColor = System.Drawing.Color.DarkBlue;
            this.label113.Location = new System.Drawing.Point(8, 381);
            this.label113.Name = "label113";
            this.label113.Size = new System.Drawing.Size(118, 13);
            this.label113.TabIndex = 90;
            this.label113.Text = "Phụ cấp chức vụ:";
            this.label113.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label77
            // 
            this.label77.ForeColor = System.Drawing.Color.DarkBlue;
            this.label77.Location = new System.Drawing.Point(26, 151);
            this.label77.Name = "label77";
            this.label77.Size = new System.Drawing.Size(59, 13);
            this.label77.TabIndex = 90;
            this.label77.Text = "KT trưởng:";
            this.label77.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label78
            // 
            this.label78.ForeColor = System.Drawing.Color.DarkBlue;
            this.label78.Location = new System.Drawing.Point(276, 127);
            this.label78.Name = "label78";
            this.label78.Size = new System.Drawing.Size(65, 13);
            this.label78.TabIndex = 89;
            this.label78.Text = "GĐ công ty:";
            this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label79
            // 
            this.label79.ForeColor = System.Drawing.Color.DarkBlue;
            this.label79.Location = new System.Drawing.Point(482, 129);
            this.label79.Name = "label79";
            this.label79.Size = new System.Drawing.Size(62, 13);
            this.label79.TabIndex = 88;
            this.label79.Text = "TP tổ chức:";
            this.label79.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label80
            // 
            this.label80.ForeColor = System.Drawing.Color.DarkBlue;
            this.label80.Location = new System.Drawing.Point(9, 127);
            this.label80.Name = "label80";
            this.label80.Size = new System.Drawing.Size(76, 13);
            this.label80.TabIndex = 87;
            this.label80.Text = "GĐ bệnh viện:";
            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_thangtaodlp
            // 
            this.txt_thangtaodlp.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_thangtaodlp.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_thangtaodlp.Location = new System.Drawing.Point(615, 190);
            this.txt_thangtaodlp.MaxLength = 2;
            this.txt_thangtaodlp.Name = "txt_thangtaodlp";
            this.txt_thangtaodlp.Size = new System.Drawing.Size(29, 21);
            this.txt_thangtaodlp.TabIndex = 26;
            this.txt_thangtaodlp.Text = "1";
            this.txt_thangtaodlp.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_thangtaodlp_KeyPress);
            this.txt_thangtaodlp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_thangtaodlp_KeyDown);
            // 
            // txt_lanccvt
            // 
            this.txt_lanccvt.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_lanccvt.Enabled = false;
            this.txt_lanccvt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_lanccvt.Location = new System.Drawing.Point(328, 223);
            this.txt_lanccvt.MaxLength = 2;
            this.txt_lanccvt.Name = "txt_lanccvt";
            this.txt_lanccvt.Size = new System.Drawing.Size(28, 21);
            this.txt_lanccvt.TabIndex = 33;
            this.txt_lanccvt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_lanccvt_KeyPress);
            this.txt_lanccvt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_lanccvt_KeyDown);
            // 
            // txt_kttruong
            // 
            this.txt_kttruong.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_kttruong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_kttruong.Location = new System.Drawing.Point(87, 148);
            this.txt_kttruong.Name = "txt_kttruong";
            this.txt_kttruong.Size = new System.Drawing.Size(177, 21);
            this.txt_kttruong.TabIndex = 17;
            this.txt_kttruong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_kttruong_KeyDown);
            // 
            // txt_giamdoccty
            // 
            this.txt_giamdoccty.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_giamdoccty.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_giamdoccty.Location = new System.Drawing.Point(342, 124);
            this.txt_giamdoccty.Name = "txt_giamdoccty";
            this.txt_giamdoccty.Size = new System.Drawing.Size(139, 21);
            this.txt_giamdoccty.TabIndex = 15;
            this.txt_giamdoccty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_giamdoccty_KeyDown);
            // 
            // label81
            // 
            this.label81.ForeColor = System.Drawing.Color.DarkBlue;
            this.label81.Location = new System.Drawing.Point(35, 104);
            this.label81.Name = "label81";
            this.label81.Size = new System.Drawing.Size(50, 13);
            this.label81.TabIndex = 80;
            this.label81.Text = "Website:";
            this.label81.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label82
            // 
            this.label82.ForeColor = System.Drawing.Color.DarkBlue;
            this.label82.Location = new System.Drawing.Point(515, 105);
            this.label82.Name = "label82";
            this.label82.Size = new System.Drawing.Size(29, 13);
            this.label82.TabIndex = 79;
            this.label82.Text = "Fax:";
            this.label82.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label83
            // 
            this.label83.ForeColor = System.Drawing.Color.DarkBlue;
            this.label83.Location = new System.Drawing.Point(281, 105);
            this.label83.Name = "label83";
            this.label83.Size = new System.Drawing.Size(60, 13);
            this.label83.TabIndex = 81;
            this.label83.Text = "Điện thoại:";
            this.label83.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tptochuc
            // 
            this.txt_tptochuc.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_tptochuc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tptochuc.Location = new System.Drawing.Point(547, 124);
            this.txt_tptochuc.Name = "txt_tptochuc";
            this.txt_tptochuc.Size = new System.Drawing.Size(225, 21);
            this.txt_tptochuc.TabIndex = 16;
            this.txt_tptochuc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_tptochuc_KeyDown);
            // 
            // txt_giamdoc
            // 
            this.txt_giamdoc.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_giamdoc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_giamdoc.Location = new System.Drawing.Point(87, 124);
            this.txt_giamdoc.Name = "txt_giamdoc";
            this.txt_giamdoc.Size = new System.Drawing.Size(177, 21);
            this.txt_giamdoc.TabIndex = 14;
            this.txt_giamdoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_giamdoc_KeyDown);
            // 
            // txt_msthue
            // 
            this.txt_msthue.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_msthue.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_msthue.Location = new System.Drawing.Point(342, 77);
            this.txt_msthue.MaxLength = 15;
            this.txt_msthue.Name = "txt_msthue";
            this.txt_msthue.Size = new System.Drawing.Size(139, 21);
            this.txt_msthue.TabIndex = 10;
            this.txt_msthue.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_msthue_KeyPress);
            this.txt_msthue.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_msthue_KeyDown);
            // 
            // txt_sodkt
            // 
            this.txt_sodkt.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_sodkt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_sodkt.Location = new System.Drawing.Point(547, 52);
            this.txt_sodkt.MaxLength = 25;
            this.txt_sodkt.Name = "txt_sodkt";
            this.txt_sodkt.Size = new System.Drawing.Size(225, 21);
            this.txt_sodkt.TabIndex = 8;
            this.txt_sodkt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_sodkt_KeyPress);
            this.txt_sodkt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_sodkt_KeyDown);
            // 
            // txt_xephang
            // 
            this.txt_xephang.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_xephang.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_xephang.Location = new System.Drawing.Point(342, 29);
            this.txt_xephang.MaxLength = 5;
            this.txt_xephang.Name = "txt_xephang";
            this.txt_xephang.Size = new System.Drawing.Size(139, 21);
            this.txt_xephang.TabIndex = 5;
            this.txt_xephang.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_xephang_KeyDown);
            // 
            // txt_noimtk
            // 
            this.txt_noimtk.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_noimtk.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_noimtk.Location = new System.Drawing.Point(97, 53);
            this.txt_noimtk.Name = "txt_noimtk";
            this.txt_noimtk.Size = new System.Drawing.Size(352, 21);
            this.txt_noimtk.TabIndex = 7;
            this.txt_noimtk.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_noimtk_KeyDown);
            // 
            // txt_diachi
            // 
            this.txt_diachi.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_diachi.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_diachi.Location = new System.Drawing.Point(547, 28);
            this.txt_diachi.Name = "txt_diachi";
            this.txt_diachi.Size = new System.Drawing.Size(225, 21);
            this.txt_diachi.TabIndex = 6;
            this.txt_diachi.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_diachi_KeyDown);
            // 
            // label85
            // 
            this.label85.ForeColor = System.Drawing.Color.DarkBlue;
            this.label85.Location = new System.Drawing.Point(285, 32);
            this.label85.Name = "label85";
            this.label85.Size = new System.Drawing.Size(56, 13);
            this.label85.TabIndex = 82;
            this.label85.Text = "Xếp hạng:";
            this.label85.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label88
            // 
            this.label88.ForeColor = System.Drawing.Color.DarkBlue;
            this.label88.Location = new System.Drawing.Point(501, 32);
            this.label88.Name = "label88";
            this.label88.Size = new System.Drawing.Size(43, 13);
            this.label88.TabIndex = 78;
            this.label88.Text = "Địa chỉ:";
            this.label88.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_phepthem2
            // 
            this.chk_phepthem2.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_phepthem2.Location = new System.Drawing.Point(268, 193);
            this.chk_phepthem2.Name = "chk_phepthem2";
            this.chk_phepthem2.Size = new System.Drawing.Size(173, 17);
            this.chk_phepthem2.TabIndex = 25;
            this.chk_phepthem2.Text = "Phép thêm lần đầu sau 10 năm";
            this.chk_phepthem2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_phepthem2.CheckedChanged += new System.EventHandler(this.chk_phepthem2_CheckedChanged);
            this.chk_phepthem2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_phepthem2_KeyDown);
            // 
            // chk_phepthem1
            // 
            this.chk_phepthem1.Checked = true;
            this.chk_phepthem1.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chk_phepthem1.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_phepthem1.Location = new System.Drawing.Point(87, 192);
            this.chk_phepthem1.Name = "chk_phepthem1";
            this.chk_phepthem1.Size = new System.Drawing.Size(159, 17);
            this.chk_phepthem1.TabIndex = 24;
            this.chk_phepthem1.Text = "Phép thêm tăng theo 5 năm";
            this.chk_phepthem1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_phepthem1.CheckedChanged += new System.EventHandler(this.chk_phepthem1_CheckedChanged);
            this.chk_phepthem1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_phepthem1_KeyDown);
            // 
            // chk_ATM
            // 
            this.chk_ATM.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ATM.Location = new System.Drawing.Point(87, 173);
            this.chk_ATM.Name = "chk_ATM";
            this.chk_ATM.Size = new System.Drawing.Size(142, 17);
            this.chk_ATM.TabIndex = 20;
            this.chk_ATM.Text = "Trả lương bằng thẻ ATM";
            this.chk_ATM.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.chk_ATM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ATM_KeyDown);
            // 
            // cbo_benhvien
            // 
            this.cbo_benhvien.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cbo_benhvien.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbo_benhvien.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_benhvien.Location = new System.Drawing.Point(87, 29);
            this.cbo_benhvien.Name = "cbo_benhvien";
            this.cbo_benhvien.Size = new System.Drawing.Size(177, 21);
            this.cbo_benhvien.TabIndex = 4;
            this.cbo_benhvien.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbo_benhvien_KeyDown);
            // 
            // label89
            // 
            this.label89.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label89.ForeColor = System.Drawing.Color.Red;
            this.label89.Location = new System.Drawing.Point(451, 151);
            this.label89.Name = "label89";
            this.label89.Size = new System.Drawing.Size(36, 13);
            this.label89.TabIndex = 164;
            this.label89.Text = "đồng";
            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label58
            // 
            this.label58.ForeColor = System.Drawing.Color.DarkBlue;
            this.label58.Location = new System.Drawing.Point(480, 194);
            this.label58.Name = "label58";
            this.label58.Size = new System.Drawing.Size(122, 13);
            this.label58.TabIndex = 77;
            this.label58.Text = "Tháng tạo dữ liệu phép:";
            this.label58.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label66
            // 
            this.label66.ForeColor = System.Drawing.Color.DarkBlue;
            this.label66.Location = new System.Drawing.Point(193, 225);
            this.label66.Name = "label66";
            this.label66.Size = new System.Drawing.Size(148, 13);
            this.label66.TabIndex = 77;
            this.label66.Text = "Số lần chấm công vân tay:";
            this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label67
            // 
            this.label67.ForeColor = System.Drawing.Color.DarkBlue;
            this.label67.Location = new System.Drawing.Point(238, 285);
            this.label67.Name = "label67";
            this.label67.Size = new System.Drawing.Size(64, 18);
            this.label67.TabIndex = 77;
            this.label67.Text = "đên ngày:";
            this.label67.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label87
            // 
            this.label87.ForeColor = System.Drawing.Color.DarkBlue;
            this.label87.Location = new System.Drawing.Point(11, 285);
            this.label87.Name = "label87";
            this.label87.Size = new System.Drawing.Size(156, 17);
            this.label87.TabIndex = 77;
            this.label87.Text = "Tổng hợp chấm công từ ngày:";
            this.label87.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label90
            // 
            this.label90.ForeColor = System.Drawing.Color.DarkBlue;
            this.label90.Location = new System.Drawing.Point(27, 32);
            this.label90.Name = "label90";
            this.label90.Size = new System.Drawing.Size(58, 13);
            this.label90.TabIndex = 77;
            this.label90.Text = "Bệnh viện:";
            this.label90.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label91
            // 
            this.label91.ForeColor = System.Drawing.Color.DarkBlue;
            this.label91.Location = new System.Drawing.Point(265, 153);
            this.label91.Name = "label91";
            this.label91.Size = new System.Drawing.Size(83, 13);
            this.label91.TabIndex = 86;
            this.label91.Text = "Lương tối thiểu:";
            this.label91.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_soyte
            // 
            this.txt_soyte.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_soyte.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_soyte.Location = new System.Drawing.Point(547, 5);
            this.txt_soyte.Name = "txt_soyte";
            this.txt_soyte.Size = new System.Drawing.Size(225, 21);
            this.txt_soyte.TabIndex = 3;
            this.txt_soyte.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_soyte_KeyDown);
            // 
            // txt_mltt
            // 
            this.txt_mltt.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_mltt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_mltt.ForeColor = System.Drawing.Color.Red;
            this.txt_mltt.Location = new System.Drawing.Point(348, 147);
            this.txt_mltt.MaxLength = 10;
            this.txt_mltt.Name = "txt_mltt";
            this.txt_mltt.Size = new System.Drawing.Size(102, 22);
            this.txt_mltt.TabIndex = 18;
            this.txt_mltt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt_mltt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_mltt_KeyPress);
            this.txt_mltt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_mltt_KeyDown);
            // 
            // label92
            // 
            this.label92.ForeColor = System.Drawing.Color.DarkBlue;
            this.label92.Location = new System.Drawing.Point(487, 9);
            this.label92.Name = "label92";
            this.label92.Size = new System.Drawing.Size(57, 13);
            this.label92.TabIndex = 76;
            this.label92.Text = "Chủ quản:";
            this.label92.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_Vantay
            // 
            this.chk_Vantay.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_Vantay.Location = new System.Drawing.Point(12, 225);
            this.chk_Vantay.Name = "chk_Vantay";
            this.chk_Vantay.Size = new System.Drawing.Size(103, 17);
            this.chk_Vantay.TabIndex = 32;
            this.chk_Vantay.Text = "Quản lý vân tay";
            this.chk_Vantay.CheckedChanged += new System.EventHandler(this.chk_Vantay_CheckedChanged);
            this.chk_Vantay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_Vantay_KeyDown);
            // 
            // cbo_maqu
            // 
            this.cbo_maqu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cbo_maqu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbo_maqu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_maqu.Location = new System.Drawing.Point(342, 5);
            this.cbo_maqu.Name = "cbo_maqu";
            this.cbo_maqu.Size = new System.Drawing.Size(139, 21);
            this.cbo_maqu.TabIndex = 2;
            this.cbo_maqu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbo_maqu_KeyDown);
            // 
            // chk_thcctudong
            // 
            this.chk_thcctudong.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_thcctudong.Location = new System.Drawing.Point(360, 265);
            this.chk_thcctudong.Name = "chk_thcctudong";
            this.chk_thcctudong.Size = new System.Drawing.Size(129, 17);
            this.chk_thcctudong.TabIndex = 42;
            this.chk_thcctudong.Text = "Tổng hợp CC tự động";
            this.chk_thcctudong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_thcctudong_KeyDown);
            // 
            // chk_khoadl
            // 
            this.chk_khoadl.Enabled = false;
            this.chk_khoadl.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_khoadl.Location = new System.Drawing.Point(196, 265);
            this.chk_khoadl.Name = "chk_khoadl";
            this.chk_khoadl.Size = new System.Drawing.Size(158, 17);
            this.chk_khoadl.TabIndex = 41;
            this.chk_khoadl.Text = "Khóa dữ liệu tháng";
            this.chk_khoadl.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_khoadl_KeyDown);
            // 
            // label93
            // 
            this.label93.ForeColor = System.Drawing.Color.DarkBlue;
            this.label93.Location = new System.Drawing.Point(269, 8);
            this.label93.Name = "label93";
            this.label93.Size = new System.Drawing.Size(72, 13);
            this.label93.TabIndex = 75;
            this.label93.Text = "Quận/Huyện:";
            this.label93.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label94
            // 
            this.label94.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label94.ForeColor = System.Drawing.Color.DarkBlue;
            this.label94.Location = new System.Drawing.Point(1, 10);
            this.label94.Name = "label94";
            this.label94.Size = new System.Drawing.Size(84, 13);
            this.label94.TabIndex = 74;
            this.label94.Text = "Tỉnh/thành phố:";
            this.label94.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // tabpc
            // 
            this.tabpc.Controls.Add(this.groupBox2);
            this.tabpc.Location = new System.Drawing.Point(4, 22);
            this.tabpc.Name = "tabpc";
            this.tabpc.Padding = new System.Windows.Forms.Padding(3);
            this.tabpc.Size = new System.Drawing.Size(780, 507);
            this.tabpc.TabIndex = 0;
            this.tabpc.Text = "Các hệ số phụ cấp";
            this.tabpc.UseVisualStyleBackColor = true;
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.lbl_ngdlt);
            this.groupBox2.Controls.Add(this.lbl_ngdcn);
            this.groupBox2.Controls.Add(this.lbl_ngdt);
            this.groupBox2.Controls.Add(this.lbl_nglt);
            this.groupBox2.Controls.Add(this.lbl_ngcn);
            this.groupBox2.Controls.Add(this.lbl_ngnt);
            this.groupBox2.Controls.Add(this.chk_abc_sdst);
            this.groupBox2.Controls.Add(this.txt_stpc_abc);
            this.groupBox2.Controls.Add(this.chk_tqst);
            this.groupBox2.Controls.Add(this.chk_ngst);
            this.groupBox2.Controls.Add(this.chk_ttst);
            this.groupBox2.Controls.Add(this.chk_tqhs);
            this.groupBox2.Controls.Add(this.chk_nghs);
            this.groupBox2.Controls.Add(this.chk_tths);
            this.groupBox2.Controls.Add(this.chk_tcst);
            this.groupBox2.Controls.Add(this.chk_tchs);
            this.groupBox2.Controls.Add(this.txt_ktd);
            this.groupBox2.Controls.Add(this.txt_ktn);
            this.groupBox2.Controls.Add(this.txt_bdd);
            this.groupBox2.Controls.Add(this.txt_bdn);
            this.groupBox2.Controls.Add(this.label145);
            this.groupBox2.Controls.Add(this.label144);
            this.groupBox2.Controls.Add(this.label143);
            this.groupBox2.Controls.Add(this.label142);
            this.groupBox2.Controls.Add(this.label133);
            this.groupBox2.Controls.Add(this.label132);
            this.groupBox2.Controls.Add(this.lbl_abchs3);
            this.groupBox2.Controls.Add(this.lbl_abchs2);
            this.groupBox2.Controls.Add(this.lbl_stabc);
            this.groupBox2.Controls.Add(this.lbl_abchs);
            this.groupBox2.Controls.Add(this.chk_abcst);
            this.groupBox2.Controls.Add(this.chk_abchs);
            this.groupBox2.Controls.Add(this.txt_pctc_cn);
            this.groupBox2.Controls.Add(this.label59);
            this.groupBox2.Controls.Add(this.label136);
            this.groupBox2.Controls.Add(this.txt_pctc_thuong);
            this.groupBox2.Controls.Add(this.txt_pctc_lt);
            this.groupBox2.Controls.Add(this.label137);
            this.groupBox2.Controls.Add(this.label138);
            this.groupBox2.Controls.Add(this.txt_pctc_hslt);
            this.groupBox2.Controls.Add(this.label139);
            this.groupBox2.Controls.Add(this.label140);
            this.groupBox2.Controls.Add(this.txt_pctc_hscn);
            this.groupBox2.Controls.Add(this.txt_pctc_hsthuong);
            this.groupBox2.Controls.Add(this.txt_pctq_lt);
            this.groupBox2.Controls.Add(this.txt_pctq_cn);
            this.groupBox2.Controls.Add(this.txt_pctq_nt);
            this.groupBox2.Controls.Add(this.label60);
            this.groupBox2.Controls.Add(this.label61);
            this.groupBox2.Controls.Add(this.label134);
            this.groupBox2.Controls.Add(this.label135);
            this.groupBox2.Controls.Add(this.txtpc_snlvthucte);
            this.groupBox2.Controls.Add(this.label111);
            this.groupBox2.Controls.Add(this.label51);
            this.groupBox2.Controls.Add(this.label110);
            this.groupBox2.Controls.Add(this.label109);
            this.groupBox2.Controls.Add(this.label103);
            this.groupBox2.Controls.Add(this.label104);
            this.groupBox2.Controls.Add(this.label95);
            this.groupBox2.Controls.Add(this.label86);
            this.groupBox2.Controls.Add(this.btnpc_thoat);
            this.groupBox2.Controls.Add(this.btnpc_boqua);
            this.groupBox2.Controls.Add(this.btnpc_sua);
            this.groupBox2.Controls.Add(this.btnpc_luu);
            this.groupBox2.Controls.Add(this.label15);
            this.groupBox2.Controls.Add(this.label14);
            this.groupBox2.Controls.Add(this.txtpc_ngdle);
            this.groupBox2.Controls.Add(this.txtpc_ngnle);
            this.groupBox2.Controls.Add(this.txtpc_sbhyt);
            this.groupBox2.Controls.Add(this.txtpc_bhyt);
            this.groupBox2.Controls.Add(this.txtpc_ngdchunhat);
            this.groupBox2.Controls.Add(this.txtpc_ngnchunhat);
            this.groupBox2.Controls.Add(this.txtpc_ngdthuong);
            this.groupBox2.Controls.Add(this.txtpc_ngnthuong);
            this.groupBox2.Controls.Add(this.txtpc_hs4);
            this.groupBox2.Controls.Add(this.txtpc_sbhtn);
            this.groupBox2.Controls.Add(this.txtpc_bhtn);
            this.groupBox2.Controls.Add(this.label64);
            this.groupBox2.Controls.Add(this.label37);
            this.groupBox2.Controls.Add(this.txtpc_ttcn);
            this.groupBox2.Controls.Add(this.label33);
            this.groupBox2.Controls.Add(this.label26);
            this.groupBox2.Controls.Add(this.txtpc_hs3);
            this.groupBox2.Controls.Add(this.label102);
            this.groupBox2.Controls.Add(this.label74);
            this.groupBox2.Controls.Add(this.label63);
            this.groupBox2.Controls.Add(this.label7);
            this.groupBox2.Controls.Add(this.label101);
            this.groupBox2.Controls.Add(this.label4);
            this.groupBox2.Controls.Add(this.label62);
            this.groupBox2.Controls.Add(this.label6);
            this.groupBox2.Controls.Add(this.txtpc_ngaylvqd);
            this.groupBox2.Controls.Add(this.txtpc_hs2);
            this.groupBox2.Controls.Add(this.label30);
            this.groupBox2.Controls.Add(this.txtpc_hs1);
            this.groupBox2.Controls.Add(this.label8);
            this.groupBox2.Controls.Add(this.label50);
            this.groupBox2.Controls.Add(this.label29);
            this.groupBox2.Controls.Add(this.label108);
            this.groupBox2.Controls.Add(this.label107);
            this.groupBox2.Controls.Add(this.label19);
            this.groupBox2.Controls.Add(this.label28);
            this.groupBox2.Controls.Add(this.txtpc_hsom);
            this.groupBox2.Controls.Add(this.label23);
            this.groupBox2.Controls.Add(this.txtpc_ttthuong);
            this.groupBox2.Controls.Add(this.label22);
            this.groupBox2.Controls.Add(this.txtpc_luongdh);
            this.groupBox2.Controls.Add(this.txtpc_luongtv);
            this.groupBox2.Controls.Add(this.txtpc_ttle);
            this.groupBox2.Controls.Add(this.label21);
            this.groupBox2.Controls.Add(this.label24);
            this.groupBox2.Controls.Add(this.label100);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Controls.Add(this.txtpc_kpcd);
            this.groupBox2.Controls.Add(this.label27);
            this.groupBox2.Controls.Add(this.label13);
            this.groupBox2.Controls.Add(this.label10);
            this.groupBox2.Controls.Add(this.txtpc_hsc);
            this.groupBox2.Controls.Add(this.txtpc_mlphucap);
            this.groupBox2.Controls.Add(this.txtpc_mltt);
            this.groupBox2.Controls.Add(this.label161);
            this.groupBox2.Controls.Add(this.label20);
            this.groupBox2.Controls.Add(this.txtpc_hstkiem);
            this.groupBox2.Controls.Add(this.txtpc_hsle);
            this.groupBox2.Controls.Add(this.label25);
            this.groupBox2.Controls.Add(this.label11);
            this.groupBox2.Controls.Add(this.txtpc_sbhxh);
            this.groupBox2.Controls.Add(this.txtpc_hsb);
            this.groupBox2.Controls.Add(this.txtpc_bhxh);
            this.groupBox2.Controls.Add(this.label18);
            this.groupBox2.Controls.Add(this.label106);
            this.groupBox2.Controls.Add(this.label105);
            this.groupBox2.Controls.Add(this.label12);
            this.groupBox2.Controls.Add(this.txtpc_hscn);
            this.groupBox2.Controls.Add(this.label47);
            this.groupBox2.Controls.Add(this.txtpc_hsthuong);
            this.groupBox2.Controls.Add(this.txtpc_hsa);
            this.groupBox2.Controls.Add(this.label16);
            this.groupBox2.Controls.Add(this.label3);
            this.groupBox2.Controls.Add(this.label75);
            this.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.txtpc_stb);
            this.groupBox2.Controls.Add(this.txtpc_stc);
            this.groupBox2.Controls.Add(this.label17);
            this.groupBox2.Controls.Add(this.txtpc_sta);
            this.groupBox2.Controls.Add(this.label5);
            this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox2.Location = new System.Drawing.Point(3, 3);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(774, 501);
            this.groupBox2.TabIndex = 230;
            this.groupBox2.TabStop = false;
            // 
            // lbl_ngdlt
            // 
            this.lbl_ngdlt.Enabled = false;
            this.lbl_ngdlt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ngdlt.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_ngdlt.Location = new System.Drawing.Point(557, 369);
            this.lbl_ngdlt.Name = "lbl_ngdlt";
            this.lbl_ngdlt.Size = new System.Drawing.Size(20, 13);
            this.lbl_ngdlt.TabIndex = 271;
            this.lbl_ngdlt.Text = "%";
            this.lbl_ngdlt.Visible = false;
            // 
            // lbl_ngdcn
            // 
            this.lbl_ngdcn.Enabled = false;
            this.lbl_ngdcn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ngdcn.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_ngdcn.Location = new System.Drawing.Point(557, 345);
            this.lbl_ngdcn.Name = "lbl_ngdcn";
            this.lbl_ngdcn.Size = new System.Drawing.Size(20, 13);
            this.lbl_ngdcn.TabIndex = 271;
            this.lbl_ngdcn.Text = "%";
            this.lbl_ngdcn.Visible = false;
            // 
            // lbl_ngdt
            // 
            this.lbl_ngdt.Enabled = false;
            this.lbl_ngdt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ngdt.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_ngdt.Location = new System.Drawing.Point(557, 321);
            this.lbl_ngdt.Name = "lbl_ngdt";
            this.lbl_ngdt.Size = new System.Drawing.Size(20, 13);
            this.lbl_ngdt.TabIndex = 271;
            this.lbl_ngdt.Text = "%";
            this.lbl_ngdt.Visible = false;
            // 
            // lbl_nglt
            // 
            this.lbl_nglt.Enabled = false;
            this.lbl_nglt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_nglt.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_nglt.Location = new System.Drawing.Point(391, 369);
            this.lbl_nglt.Name = "lbl_nglt";
            this.lbl_nglt.Size = new System.Drawing.Size(20, 13);
            this.lbl_nglt.TabIndex = 271;
            this.lbl_nglt.Text = "%";
            this.lbl_nglt.Visible = false;
            // 
            // lbl_ngcn
            // 
            this.lbl_ngcn.Enabled = false;
            this.lbl_ngcn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ngcn.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_ngcn.Location = new System.Drawing.Point(391, 346);
            this.lbl_ngcn.Name = "lbl_ngcn";
            this.lbl_ngcn.Size = new System.Drawing.Size(20, 13);
            this.lbl_ngcn.TabIndex = 271;
            this.lbl_ngcn.Text = "%";
            this.lbl_ngcn.Visible = false;
            // 
            // lbl_ngnt
            // 
            this.lbl_ngnt.Enabled = false;
            this.lbl_ngnt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ngnt.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_ngnt.Location = new System.Drawing.Point(391, 322);
            this.lbl_ngnt.Name = "lbl_ngnt";
            this.lbl_ngnt.Size = new System.Drawing.Size(20, 13);
            this.lbl_ngnt.TabIndex = 271;
            this.lbl_ngnt.Text = "%";
            this.lbl_ngnt.Visible = false;
            // 
            // chk_abc_sdst
            // 
            this.chk_abc_sdst.AutoSize = true;
            this.chk_abc_sdst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_abc_sdst.Location = new System.Drawing.Point(7, 130);
            this.chk_abc_sdst.Name = "chk_abc_sdst";
            this.chk_abc_sdst.Size = new System.Drawing.Size(147, 17);
            this.chk_abc_sdst.TabIndex = 16;
            this.chk_abc_sdst.Text = "Sử dụng mức pc quy định";
            this.chk_abc_sdst.UseVisualStyleBackColor = true;
            this.chk_abc_sdst.CheckedChanged += new System.EventHandler(this.chk_abc_sdst_CheckedChanged);
            this.chk_abc_sdst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_abc_sdst_KeyDown);
            // 
            // txt_stpc_abc
            // 
            this.txt_stpc_abc.Enabled = false;
            this.txt_stpc_abc.Location = new System.Drawing.Point(204, 126);
            this.txt_stpc_abc.Name = "txt_stpc_abc";
            this.txt_stpc_abc.Size = new System.Drawing.Size(85, 21);
            this.txt_stpc_abc.TabIndex = 17;
            this.txt_stpc_abc.Text = "0";
            this.txt_stpc_abc.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_stpc_abc_KeyPress);
            this.txt_stpc_abc.Validated += new System.EventHandler(this.txt_stpc_abc_Validated);
            this.txt_stpc_abc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_stpc_abc_KeyDown);
            // 
            // chk_tqst
            // 
            this.chk_tqst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_tqst.Location = new System.Drawing.Point(674, 279);
            this.chk_tqst.Name = "chk_tqst";
            this.chk_tqst.Size = new System.Drawing.Size(107, 18);
            this.chk_tqst.TabIndex = 64;
            this.chk_tqst.Text = "Tính theo số tiền";
            this.chk_tqst.UseVisualStyleBackColor = true;
            this.chk_tqst.CheckedChanged += new System.EventHandler(this.chk_tqst_CheckedChanged);
            this.chk_tqst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_tqst_KeyDown);
            // 
            // chk_ngst
            // 
            this.chk_ngst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ngst.Location = new System.Drawing.Point(425, 278);
            this.chk_ngst.Name = "chk_ngst";
            this.chk_ngst.Size = new System.Drawing.Size(116, 18);
            this.chk_ngst.TabIndex = 52;
            this.chk_ngst.Text = "Tính theo số tiền";
            this.chk_ngst.UseVisualStyleBackColor = true;
            this.chk_ngst.CheckedChanged += new System.EventHandler(this.chk_ngst_CheckedChanged);
            this.chk_ngst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ngst_KeyDown);
            // 
            // chk_ttst
            // 
            this.chk_ttst.Checked = true;
            this.chk_ttst.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chk_ttst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_ttst.Location = new System.Drawing.Point(154, 278);
            this.chk_ttst.Name = "chk_ttst";
            this.chk_ttst.Size = new System.Drawing.Size(120, 18);
            this.chk_ttst.TabIndex = 44;
            this.chk_ttst.Text = "Tính theo số tiền";
            this.chk_ttst.UseVisualStyleBackColor = true;
            this.chk_ttst.CheckedChanged += new System.EventHandler(this.chk_ttst_CheckedChanged);
            this.chk_ttst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_ttst_KeyDown);
            // 
            // chk_tqhs
            // 
            this.chk_tqhs.Checked = true;
            this.chk_tqhs.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chk_tqhs.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_tqhs.Location = new System.Drawing.Point(544, 279);
            this.chk_tqhs.Name = "chk_tqhs";
            this.chk_tqhs.Size = new System.Drawing.Size(131, 17);
            this.chk_tqhs.TabIndex = 63;
            this.chk_tqhs.Text = "Tính theo hệ số lương";
            this.chk_tqhs.UseVisualStyleBackColor = true;
            this.chk_tqhs.CheckedChanged += new System.EventHandler(this.chk_tqhs_CheckedChanged);
            this.chk_tqhs.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_tqhs_KeyDown);
            // 
            // chk_nghs
            // 
            this.chk_nghs.Checked = true;
            this.chk_nghs.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chk_nghs.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_nghs.Location = new System.Drawing.Point(283, 279);
            this.chk_nghs.Name = "chk_nghs";
            this.chk_nghs.Size = new System.Drawing.Size(133, 16);
            this.chk_nghs.TabIndex = 51;
            this.chk_nghs.Text = "Tính theo hệ số lương";
            this.chk_nghs.UseVisualStyleBackColor = true;
            this.chk_nghs.CheckedChanged += new System.EventHandler(this.chk_nghs_CheckedChanged);
            this.chk_nghs.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_nghs_KeyDown);
            // 
            // chk_tths
            // 
            this.chk_tths.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_tths.Location = new System.Drawing.Point(6, 278);
            this.chk_tths.Name = "chk_tths";
            this.chk_tths.Size = new System.Drawing.Size(141, 17);
            this.chk_tths.TabIndex = 43;
            this.chk_tths.Text = "Tính theo hệ số lương";
            this.chk_tths.UseVisualStyleBackColor = true;
            this.chk_tths.CheckedChanged += new System.EventHandler(this.chk_tths_CheckedChanged);
            this.chk_tths.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_tths_KeyDown);
            // 
            // chk_tcst
            // 
            this.chk_tcst.Checked = true;
            this.chk_tcst.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chk_tcst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_tcst.Location = new System.Drawing.Point(651, 132);
            this.chk_tcst.Name = "chk_tcst";
            this.chk_tcst.Size = new System.Drawing.Size(123, 18);
            this.chk_tcst.TabIndex = 31;
            this.chk_tcst.Text = "Tính theo số tiền";
            this.chk_tcst.UseVisualStyleBackColor = true;
            this.chk_tcst.CheckedChanged += new System.EventHandler(this.chk_tcst_CheckedChanged);
            this.chk_tcst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_tcst_KeyDown);
            // 
            // chk_tchs
            // 
            this.chk_tchs.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_tchs.Location = new System.Drawing.Point(499, 133);
            this.chk_tchs.Name = "chk_tchs";
            this.chk_tchs.Size = new System.Drawing.Size(149, 17);
            this.chk_tchs.TabIndex = 30;
            this.chk_tchs.Text = "Tính theo hệ số lương";
            this.chk_tchs.UseVisualStyleBackColor = true;
            this.chk_tchs.CheckedChanged += new System.EventHandler(this.chk_tchs_CheckedChanged);
            this.chk_tchs.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_tchs_KeyDown);
            // 
            // txt_ktd
            // 
            this.txt_ktd.Location = new System.Drawing.Point(671, 418);
            this.txt_ktd.MaxLength = 5;
            this.txt_ktd.Name = "txt_ktd";
            this.txt_ktd.Size = new System.Drawing.Size(80, 21);
            this.txt_ktd.TabIndex = 62;
            this.txt_ktd.Leave += new System.EventHandler(this.txt_ktd_Leave);
            this.txt_ktd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_ktd_KeyPress);
            this.txt_ktd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ktd_KeyDown);
            // 
            // txt_ktn
            // 
            this.txt_ktn.Location = new System.Drawing.Point(671, 393);
            this.txt_ktn.MaxLength = 5;
            this.txt_ktn.Name = "txt_ktn";
            this.txt_ktn.Size = new System.Drawing.Size(80, 21);
            this.txt_ktn.TabIndex = 60;
            this.txt_ktn.Leave += new System.EventHandler(this.txt_ktn_Leave);
            this.txt_ktn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_ktn_KeyPress);
            this.txt_ktn.Validated += new System.EventHandler(this.txt_ktn_Validated);
            this.txt_ktn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ktn_KeyDown);
            // 
            // txt_bdd
            // 
            this.txt_bdd.Location = new System.Drawing.Point(489, 416);
            this.txt_bdd.MaxLength = 5;
            this.txt_bdd.Name = "txt_bdd";
            this.txt_bdd.Size = new System.Drawing.Size(65, 21);
            this.txt_bdd.TabIndex = 61;
            this.txt_bdd.Leave += new System.EventHandler(this.txt_bdd_Leave);
            this.txt_bdd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_bdd_KeyPress);
            this.txt_bdd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_bdd_KeyDown);
            // 
            // txt_bdn
            // 
            this.txt_bdn.Location = new System.Drawing.Point(489, 393);
            this.txt_bdn.MaxLength = 5;
            this.txt_bdn.Name = "txt_bdn";
            this.txt_bdn.Size = new System.Drawing.Size(65, 21);
            this.txt_bdn.TabIndex = 59;
            this.txt_bdn.Leave += new System.EventHandler(this.txt_bdn_Leave);
            this.txt_bdn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_bdn_KeyPress);
            this.txt_bdn.Validated += new System.EventHandler(this.txt_bdn_Validated);
            this.txt_bdn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_bdn_KeyDown);
            // 
            // label145
            // 
            this.label145.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label145.ForeColor = System.Drawing.Color.Navy;
            this.label145.Location = new System.Drawing.Point(615, 422);
            this.label145.Name = "label145";
            this.label145.Size = new System.Drawing.Size(55, 13);
            this.label145.TabIndex = 268;
            this.label145.Text = "Kết thúc:";
            this.label145.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label144
            // 
            this.label144.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label144.ForeColor = System.Drawing.Color.Navy;
            this.label144.Location = new System.Drawing.Point(615, 396);
            this.label144.Name = "label144";
            this.label144.Size = new System.Drawing.Size(55, 13);
            this.label144.TabIndex = 267;
            this.label144.Text = "Kết thúc:";
            this.label144.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label143
            // 
            this.label143.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label143.ForeColor = System.Drawing.Color.Navy;
            this.label143.Location = new System.Drawing.Point(434, 420);
            this.label143.Name = "label143";
            this.label143.Size = new System.Drawing.Size(55, 13);
            this.label143.TabIndex = 266;
            this.label143.Text = "Bắt đầu:";
            this.label143.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label142
            // 
            this.label142.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label142.ForeColor = System.Drawing.Color.Navy;
            this.label142.Location = new System.Drawing.Point(434, 394);
            this.label142.Name = "label142";
            this.label142.Size = new System.Drawing.Size(55, 13);
            this.label142.TabIndex = 265;
            this.label142.Text = "Bắt đầu:";
            this.label142.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label133
            // 
            this.label133.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label133.ForeColor = System.Drawing.Color.Navy;
            this.label133.Location = new System.Drawing.Point(253, 422);
            this.label133.Name = "label133";
            this.label133.Size = new System.Drawing.Size(168, 13);
            this.label133.TabIndex = 264;
            this.label133.Text = "Giờ chấm công ngoài giờ ca đêm";
            this.label133.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label132
            // 
            this.label132.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label132.ForeColor = System.Drawing.Color.Navy;
            this.label132.Location = new System.Drawing.Point(253, 396);
            this.label132.Name = "label132";
            this.label132.Size = new System.Drawing.Size(171, 13);
            this.label132.TabIndex = 263;
            this.label132.Text = "Giờ chấm công ngoài giờ ca ngày";
            this.label132.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lbl_abchs3
            // 
            this.lbl_abchs3.Enabled = false;
            this.lbl_abchs3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_abchs3.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_abchs3.Location = new System.Drawing.Point(120, 227);
            this.lbl_abchs3.Name = "lbl_abchs3";
            this.lbl_abchs3.Size = new System.Drawing.Size(20, 13);
            this.lbl_abchs3.TabIndex = 262;
            this.lbl_abchs3.Text = "%";
            // 
            // lbl_abchs2
            // 
            this.lbl_abchs2.Enabled = false;
            this.lbl_abchs2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_abchs2.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_abchs2.Location = new System.Drawing.Point(120, 202);
            this.lbl_abchs2.Name = "lbl_abchs2";
            this.lbl_abchs2.Size = new System.Drawing.Size(20, 13);
            this.lbl_abchs2.TabIndex = 262;
            this.lbl_abchs2.Text = "%";
            // 
            // lbl_stabc
            // 
            this.lbl_stabc.Enabled = false;
            this.lbl_stabc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_stabc.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_stabc.Location = new System.Drawing.Point(290, 130);
            this.lbl_stabc.Name = "lbl_stabc";
            this.lbl_stabc.Size = new System.Drawing.Size(20, 13);
            this.lbl_stabc.TabIndex = 262;
            this.lbl_stabc.Text = "đ";
            // 
            // lbl_abchs
            // 
            this.lbl_abchs.Enabled = false;
            this.lbl_abchs.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_abchs.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_abchs.Location = new System.Drawing.Point(120, 177);
            this.lbl_abchs.Name = "lbl_abchs";
            this.lbl_abchs.Size = new System.Drawing.Size(20, 13);
            this.lbl_abchs.TabIndex = 262;
            this.lbl_abchs.Text = "%";
            // 
            // chk_abcst
            // 
            this.chk_abcst.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_abcst.Location = new System.Drawing.Point(204, 149);
            this.chk_abcst.Name = "chk_abcst";
            this.chk_abcst.Size = new System.Drawing.Size(111, 17);
            this.chk_abcst.TabIndex = 19;
            this.chk_abcst.Text = "Nhập theo số tiền";
            this.chk_abcst.UseVisualStyleBackColor = true;
            this.chk_abcst.CheckedChanged += new System.EventHandler(this.chk_abcst_CheckedChanged);
            this.chk_abcst.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_abcst_KeyDown);
            // 
            // chk_abchs
            // 
            this.chk_abchs.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_abchs.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_abchs.Location = new System.Drawing.Point(7, 149);
            this.chk_abchs.Name = "chk_abchs";
            this.chk_abchs.Size = new System.Drawing.Size(155, 17);
            this.chk_abchs.TabIndex = 18;
            this.chk_abchs.Text = "Nhập theo % lương cơ bản";
            this.chk_abchs.UseVisualStyleBackColor = true;
            this.chk_abchs.CheckedChanged += new System.EventHandler(this.chk_abchs_CheckedChanged);
            this.chk_abchs.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_abchs_KeyDown);
            // 
            // txt_pctc_cn
            // 
            this.txt_pctc_cn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_cn.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_cn.Location = new System.Drawing.Point(572, 195);
            this.txt_pctc_cn.MaxLength = 10;
            this.txt_pctc_cn.Name = "txt_pctc_cn";
            this.txt_pctc_cn.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_cn.TabIndex = 33;
            this.txt_pctc_cn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_cn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_cn_KeyPress);
            this.txt_pctc_cn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_cn_KeyDown);
            // 
            // label59
            // 
            this.label59.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label59.ForeColor = System.Drawing.Color.Navy;
            this.label59.Location = new System.Drawing.Point(660, 152);
            this.label59.Name = "label59";
            this.label59.Size = new System.Drawing.Size(85, 13);
            this.label59.TabIndex = 260;
            this.label59.Text = "Kvực cấp cứu:";
            this.label59.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label136
            // 
            this.label136.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label136.ForeColor = System.Drawing.Color.Navy;
            this.label136.Location = new System.Drawing.Point(527, 223);
            this.label136.Name = "label136";
            this.label136.Size = new System.Drawing.Size(43, 13);
            this.label136.TabIndex = 258;
            this.label136.Text = "Lễ, tết:";
            this.label136.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_pctc_thuong
            // 
            this.txt_pctc_thuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_thuong.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_thuong.Location = new System.Drawing.Point(572, 171);
            this.txt_pctc_thuong.MaxLength = 10;
            this.txt_pctc_thuong.Name = "txt_pctc_thuong";
            this.txt_pctc_thuong.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_thuong.TabIndex = 32;
            this.txt_pctc_thuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_thuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_thuong_KeyPress);
            this.txt_pctc_thuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_thuong_KeyDown);
            // 
            // txt_pctc_lt
            // 
            this.txt_pctc_lt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_lt.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_lt.Location = new System.Drawing.Point(572, 219);
            this.txt_pctc_lt.MaxLength = 10;
            this.txt_pctc_lt.Name = "txt_pctc_lt";
            this.txt_pctc_lt.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_lt.TabIndex = 34;
            this.txt_pctc_lt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_lt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_lt_KeyPress);
            this.txt_pctc_lt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_lt_KeyDown);
            // 
            // label137
            // 
            this.label137.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label137.ForeColor = System.Drawing.Color.Navy;
            this.label137.Location = new System.Drawing.Point(569, 152);
            this.label137.Name = "label137";
            this.label137.Size = new System.Drawing.Size(82, 13);
            this.label137.TabIndex = 259;
            this.label137.Text = "Kvực thường:";
            this.label137.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // txt_pctc_hslt
            // 
            this.txt_pctc_hslt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_hslt.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_hslt.Location = new System.Drawing.Point(658, 219);
            this.txt_pctc_hslt.MaxLength = 10;
            this.txt_pctc_hslt.Name = "txt_pctc_hslt";
            this.txt_pctc_hslt.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_hslt.TabIndex = 37;
            this.txt_pctc_hslt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_hslt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_hslt_KeyPress);
            this.txt_pctc_hslt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_hslt_KeyDown);
            // 
            // label139
            // 
            this.label139.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label139.ForeColor = System.Drawing.Color.Navy;
            this.label139.Location = new System.Drawing.Point(515, 199);
            this.label139.Name = "label139";
            this.label139.Size = new System.Drawing.Size(55, 13);
            this.label139.TabIndex = 256;
            this.label139.Text = "Chủ nhật:";
            this.label139.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label140
            // 
            this.label140.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label140.ForeColor = System.Drawing.Color.Navy;
            this.label140.Location = new System.Drawing.Point(496, 175);
            this.label140.Name = "label140";
            this.label140.Size = new System.Drawing.Size(74, 13);
            this.label140.TabIndex = 255;
            this.label140.Text = "Ngày thường:";
            this.label140.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_pctc_hscn
            // 
            this.txt_pctc_hscn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_hscn.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_hscn.Location = new System.Drawing.Point(658, 195);
            this.txt_pctc_hscn.MaxLength = 10;
            this.txt_pctc_hscn.Name = "txt_pctc_hscn";
            this.txt_pctc_hscn.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_hscn.TabIndex = 36;
            this.txt_pctc_hscn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_hscn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_hscn_KeyPress);
            this.txt_pctc_hscn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_hscn_KeyDown);
            // 
            // txt_pctc_hsthuong
            // 
            this.txt_pctc_hsthuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctc_hsthuong.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctc_hsthuong.Location = new System.Drawing.Point(658, 171);
            this.txt_pctc_hsthuong.MaxLength = 10;
            this.txt_pctc_hsthuong.Name = "txt_pctc_hsthuong";
            this.txt_pctc_hsthuong.Size = new System.Drawing.Size(72, 21);
            this.txt_pctc_hsthuong.TabIndex = 35;
            this.txt_pctc_hsthuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctc_hsthuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctc_hsthuong_KeyPress);
            this.txt_pctc_hsthuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctc_hsthuong_KeyDown);
            // 
            // txt_pctq_lt
            // 
            this.txt_pctq_lt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctq_lt.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctq_lt.Location = new System.Drawing.Point(671, 366);
            this.txt_pctq_lt.MaxLength = 10;
            this.txt_pctq_lt.Name = "txt_pctq_lt";
            this.txt_pctq_lt.Size = new System.Drawing.Size(80, 21);
            this.txt_pctq_lt.TabIndex = 67;
            this.txt_pctq_lt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctq_lt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctq_lt_KeyPress);
            this.txt_pctq_lt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctq_lt_KeyDown);
            // 
            // txt_pctq_cn
            // 
            this.txt_pctq_cn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctq_cn.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctq_cn.Location = new System.Drawing.Point(671, 342);
            this.txt_pctq_cn.MaxLength = 10;
            this.txt_pctq_cn.Name = "txt_pctq_cn";
            this.txt_pctq_cn.Size = new System.Drawing.Size(80, 21);
            this.txt_pctq_cn.TabIndex = 66;
            this.txt_pctq_cn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctq_cn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctq_cn_KeyPress);
            this.txt_pctq_cn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctq_cn_KeyDown);
            // 
            // txt_pctq_nt
            // 
            this.txt_pctq_nt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctq_nt.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctq_nt.Location = new System.Drawing.Point(671, 318);
            this.txt_pctq_nt.MaxLength = 10;
            this.txt_pctq_nt.Name = "txt_pctq_nt";
            this.txt_pctq_nt.Size = new System.Drawing.Size(80, 21);
            this.txt_pctq_nt.TabIndex = 65;
            this.txt_pctq_nt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt_pctq_nt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_pctq_nt_KeyPress);
            this.txt_pctq_nt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_pctq_nt_KeyDown);
            // 
            // label60
            // 
            this.label60.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label60.ForeColor = System.Drawing.Color.Navy;
            this.label60.Location = new System.Drawing.Point(630, 370);
            this.label60.Name = "label60";
            this.label60.Size = new System.Drawing.Size(39, 13);
            this.label60.TabIndex = 248;
            this.label60.Text = "Lễ tết:";
            this.label60.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label61
            // 
            this.label61.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label61.ForeColor = System.Drawing.Color.Navy;
            this.label61.Location = new System.Drawing.Point(579, 260);
            this.label61.Name = "label61";
            this.label61.Size = new System.Drawing.Size(180, 14);
            this.label61.TabIndex = 247;
            this.label61.Text = "Hệ số phụ cấp thường quy :";
            // 
            // label134
            // 
            this.label134.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label134.ForeColor = System.Drawing.Color.Navy;
            this.label134.Location = new System.Drawing.Point(614, 346);
            this.label134.Name = "label134";
            this.label134.Size = new System.Drawing.Size(55, 13);
            this.label134.TabIndex = 246;
            this.label134.Text = "Chủ nhật:";
            this.label134.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label135
            // 
            this.label135.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label135.ForeColor = System.Drawing.Color.Navy;
            this.label135.Location = new System.Drawing.Point(596, 322);
            this.label135.Name = "label135";
            this.label135.Size = new System.Drawing.Size(74, 13);
            this.label135.TabIndex = 245;
            this.label135.Text = "Ngày thường:";
            this.label135.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_snlvthucte
            // 
            this.txtpc_snlvthucte.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_snlvthucte.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_snlvthucte.Location = new System.Drawing.Point(331, 56);
            this.txtpc_snlvthucte.MaxLength = 3;
            this.txtpc_snlvthucte.Name = "txtpc_snlvthucte";
            this.txtpc_snlvthucte.Size = new System.Drawing.Size(71, 21);
            this.txtpc_snlvthucte.TabIndex = 4;
            this.txtpc_snlvthucte.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_snlvthucte.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpc_snlvthucte_KeyDown);
            // 
            // label111
            // 
            this.label111.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label111.ForeColor = System.Drawing.Color.Navy;
            this.label111.Location = new System.Drawing.Point(229, 59);
            this.label111.Name = "label111";
            this.label111.Size = new System.Drawing.Size(99, 13);
            this.label111.TabIndex = 241;
            this.label111.Text = "Số ngày lv thực tế:";
            this.label111.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label51
            // 
            this.label51.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label51.ForeColor = System.Drawing.Color.Navy;
            this.label51.Location = new System.Drawing.Point(171, 442);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(69, 13);
            this.label51.TabIndex = 239;
            this.label51.Text = "lương cơ bản";
            this.label51.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label110
            // 
            this.label110.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label110.ForeColor = System.Drawing.Color.Navy;
            this.label110.Location = new System.Drawing.Point(171, 419);
            this.label110.Name = "label110";
            this.label110.Size = new System.Drawing.Size(69, 13);
            this.label110.TabIndex = 239;
            this.label110.Text = "lương cơ bản";
            this.label110.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label109
            // 
            this.label109.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label109.ForeColor = System.Drawing.Color.Navy;
            this.label109.Location = new System.Drawing.Point(171, 396);
            this.label109.Name = "label109";
            this.label109.Size = new System.Drawing.Size(69, 13);
            this.label109.TabIndex = 239;
            this.label109.Text = "lương cơ bản";
            this.label109.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label103
            // 
            this.label103.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label103.ForeColor = System.Drawing.Color.Navy;
            this.label103.Location = new System.Drawing.Point(483, 302);
            this.label103.Name = "label103";
            this.label103.Size = new System.Drawing.Size(59, 13);
            this.label103.TabIndex = 238;
            this.label103.Text = "Làm đêm";
            this.label103.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label104
            // 
            this.label104.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label104.ForeColor = System.Drawing.Color.Navy;
            this.label104.Location = new System.Drawing.Point(322, 302);
            this.label104.Name = "label104";
            this.label104.Size = new System.Drawing.Size(62, 13);
            this.label104.TabIndex = 237;
            this.label104.Text = "Làm ngày";
            this.label104.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label95
            // 
            this.label95.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label95.ForeColor = System.Drawing.Color.Navy;
            this.label95.Location = new System.Drawing.Point(578, 14);
            this.label95.Name = "label95";
            this.label95.Size = new System.Drawing.Size(194, 14);
            this.label95.TabIndex = 236;
            this.label95.Text = "HSBH người sử dụng lao động";
            this.label95.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label86
            // 
            this.label86.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label86.ForeColor = System.Drawing.Color.Navy;
            this.label86.Location = new System.Drawing.Point(420, 14);
            this.label86.Name = "label86";
            this.label86.Size = new System.Drawing.Size(139, 14);
            this.label86.TabIndex = 236;
            this.label86.Text = "HSBH người lao động";
            this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // btnpc_thoat
            // 
            this.btnpc_thoat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpc_thoat.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnpc_thoat.Image = global::Human.Properties.Resources.close_r;
            this.btnpc_thoat.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpc_thoat.Location = new System.Drawing.Point(480, 469);
            this.btnpc_thoat.Name = "btnpc_thoat";
            this.btnpc_thoat.Size = new System.Drawing.Size(65, 28);
            this.btnpc_thoat.TabIndex = 78;
            this.btnpc_thoat.Text = "  &Thoát";
            this.btnpc_thoat.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnpc_thoat.UseVisualStyleBackColor = true;
            this.btnpc_thoat.Click += new System.EventHandler(this.btnpc_thoat_Click);
            // 
            // btnpc_boqua
            // 
            this.btnpc_boqua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpc_boqua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnpc_boqua.Image = global::Human.Properties.Resources.undo_2005;
            this.btnpc_boqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpc_boqua.Location = new System.Drawing.Point(413, 469);
            this.btnpc_boqua.Name = "btnpc_boqua";
            this.btnpc_boqua.Size = new System.Drawing.Size(65, 28);
            this.btnpc_boqua.TabIndex = 77;
            this.btnpc_boqua.Text = "&Bỏ qua";
            this.btnpc_boqua.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnpc_boqua.UseVisualStyleBackColor = true;
            this.btnpc_boqua.Click += new System.EventHandler(this.btnpc_boqua_Click);
            // 
            // btnpc_sua
            // 
            this.btnpc_sua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpc_sua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnpc_sua.Image = global::Human.Properties.Resources.quick_edit;
            this.btnpc_sua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpc_sua.Location = new System.Drawing.Point(345, 469);
            this.btnpc_sua.Name = "btnpc_sua";
            this.btnpc_sua.Size = new System.Drawing.Size(65, 28);
            this.btnpc_sua.TabIndex = 76;
            this.btnpc_sua.Text = "  &Sửa";
            this.btnpc_sua.UseVisualStyleBackColor = true;
            this.btnpc_sua.Click += new System.EventHandler(this.btnpc_sua_Click);
            // 
            // btnpc_luu
            // 
            this.btnpc_luu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpc_luu.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnpc_luu.Image = global::Human.Properties.Resources.save;
            this.btnpc_luu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpc_luu.Location = new System.Drawing.Point(277, 469);
            this.btnpc_luu.Name = "btnpc_luu";
            this.btnpc_luu.Size = new System.Drawing.Size(65, 28);
            this.btnpc_luu.TabIndex = 75;
            this.btnpc_luu.Text = "  &Lưu";
            this.btnpc_luu.UseVisualStyleBackColor = true;
            this.btnpc_luu.Click += new System.EventHandler(this.btnpc_luu_Click);
            // 
            // label15
            // 
            this.label15.BackColor = System.Drawing.Color.Blue;
            this.label15.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label15.Location = new System.Drawing.Point(1, 250);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(772, 3);
            this.label15.TabIndex = 231;
            // 
            // label14
            // 
            this.label14.BackColor = System.Drawing.Color.Blue;
            this.label14.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label14.Location = new System.Drawing.Point(-3, 107);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(780, 3);
            this.label14.TabIndex = 230;
            // 
            // txtpc_ngdle
            // 
            this.txtpc_ngdle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngdle.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngdle.Location = new System.Drawing.Point(489, 366);
            this.txtpc_ngdle.MaxLength = 10;
            this.txtpc_ngdle.Name = "txtpc_ngdle";
            this.txtpc_ngdle.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngdle.TabIndex = 58;
            this.txtpc_ngdle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngdle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtd_le_KeyPress);
            this.txtpc_ngdle.Validated += new System.EventHandler(this.txtd_le_Validated);
            this.txtpc_ngdle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtd_le_KeyDown);
            // 
            // txtpc_sbhyt
            // 
            this.txtpc_sbhyt.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_sbhyt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_sbhyt.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_sbhyt.Location = new System.Drawing.Point(650, 55);
            this.txtpc_sbhyt.MaxLength = 10;
            this.txtpc_sbhyt.Name = "txtpc_sbhyt";
            this.txtpc_sbhyt.Size = new System.Drawing.Size(80, 21);
            this.txtpc_sbhyt.TabIndex = 10;
            this.txtpc_sbhyt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_sbhyt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_sbhyt.Validated += new System.EventHandler(this.txtbhyt_Validated);
            this.txtpc_sbhyt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhyt_KeyDown);
            // 
            // txtpc_ngdchunhat
            // 
            this.txtpc_ngdchunhat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngdchunhat.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngdchunhat.Location = new System.Drawing.Point(489, 342);
            this.txtpc_ngdchunhat.MaxLength = 10;
            this.txtpc_ngdchunhat.Name = "txtpc_ngdchunhat";
            this.txtpc_ngdchunhat.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngdchunhat.TabIndex = 57;
            this.txtpc_ngdchunhat.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngdchunhat.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtd_chunhat_KeyPress);
            this.txtpc_ngdchunhat.Validated += new System.EventHandler(this.txtd_chunhat_Validated);
            this.txtpc_ngdchunhat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtd_chunhat_KeyDown);
            // 
            // txtpc_ngdthuong
            // 
            this.txtpc_ngdthuong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_ngdthuong.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_ngdthuong.Location = new System.Drawing.Point(489, 318);
            this.txtpc_ngdthuong.MaxLength = 10;
            this.txtpc_ngdthuong.Name = "txtpc_ngdthuong";
            this.txtpc_ngdthuong.Size = new System.Drawing.Size(65, 21);
            this.txtpc_ngdthuong.TabIndex = 56;
            this.txtpc_ngdthuong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_ngdthuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtd_thuong_KeyPress);
            this.txtpc_ngdthuong.Validated += new System.EventHandler(this.txtd_thuong_Validated);
            this.txtpc_ngdthuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtd_thuong_KeyDown);
            // 
            // txtpc_sbhtn
            // 
            this.txtpc_sbhtn.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_sbhtn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_sbhtn.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_sbhtn.Location = new System.Drawing.Point(650, 79);
            this.txtpc_sbhtn.MaxLength = 10;
            this.txtpc_sbhtn.Name = "txtpc_sbhtn";
            this.txtpc_sbhtn.Size = new System.Drawing.Size(80, 21);
            this.txtpc_sbhtn.TabIndex = 11;
            this.txtpc_sbhtn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_sbhtn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_sbhtn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhxh_KeyDown);
            // 
            // txtpc_bhtn
            // 
            this.txtpc_bhtn.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_bhtn.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_bhtn.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_bhtn.Location = new System.Drawing.Point(489, 82);
            this.txtpc_bhtn.MaxLength = 10;
            this.txtpc_bhtn.Name = "txtpc_bhtn";
            this.txtpc_bhtn.Size = new System.Drawing.Size(80, 21);
            this.txtpc_bhtn.TabIndex = 8;
            this.txtpc_bhtn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_bhtn.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_bhtn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhxh_KeyDown);
            // 
            // label64
            // 
            this.label64.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label64.ForeColor = System.Drawing.Color.Navy;
            this.label64.Location = new System.Drawing.Point(427, 367);
            this.label64.Name = "label64";
            this.label64.Size = new System.Drawing.Size(61, 13);
            this.label64.TabIndex = 113;
            this.label64.Text = "Đêm lễ tết:";
            this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label26
            // 
            this.label26.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label26.ForeColor = System.Drawing.Color.Navy;
            this.label26.Location = new System.Drawing.Point(161, 223);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(40, 13);
            this.label26.TabIndex = 213;
            this.label26.Text = "Loại C:";
            this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label102
            // 
            this.label102.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label102.ForeColor = System.Drawing.Color.Navy;
            this.label102.Location = new System.Drawing.Point(581, 84);
            this.label102.Name = "label102";
            this.label102.Size = new System.Drawing.Size(67, 13);
            this.label102.TabIndex = 229;
            this.label102.Text = "Hệ số BHTN:";
            this.label102.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label74
            // 
            this.label74.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label74.ForeColor = System.Drawing.Color.Navy;
            this.label74.Location = new System.Drawing.Point(419, 87);
            this.label74.Name = "label74";
            this.label74.Size = new System.Drawing.Size(67, 13);
            this.label74.TabIndex = 229;
            this.label74.Text = "Hệ số BHTN:";
            this.label74.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label63
            // 
            this.label63.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label63.ForeColor = System.Drawing.Color.Navy;
            this.label63.Location = new System.Drawing.Point(407, 346);
            this.label63.Name = "label63";
            this.label63.Size = new System.Drawing.Size(81, 13);
            this.label63.TabIndex = 161;
            this.label63.Text = " Đêm chủ nhật:";
            this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label101
            // 
            this.label101.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label101.ForeColor = System.Drawing.Color.Navy;
            this.label101.Location = new System.Drawing.Point(582, 59);
            this.label101.Name = "label101";
            this.label101.Size = new System.Drawing.Size(66, 13);
            this.label101.TabIndex = 158;
            this.label101.Text = "Hệ số BHYT:";
            this.label101.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label62
            // 
            this.label62.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label62.ForeColor = System.Drawing.Color.Navy;
            this.label62.Location = new System.Drawing.Point(417, 321);
            this.label62.Name = "label62";
            this.label62.Size = new System.Drawing.Size(71, 13);
            this.label62.TabIndex = 160;
            this.label62.Text = "Đêm thường:";
            this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label50
            // 
            this.label50.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label50.ForeColor = System.Drawing.Color.Navy;
            this.label50.Location = new System.Drawing.Point(156, 442);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(18, 13);
            this.label50.TabIndex = 206;
            this.label50.Text = "%";
            this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label108
            // 
            this.label108.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label108.ForeColor = System.Drawing.Color.Navy;
            this.label108.Location = new System.Drawing.Point(156, 419);
            this.label108.Name = "label108";
            this.label108.Size = new System.Drawing.Size(18, 13);
            this.label108.TabIndex = 206;
            this.label108.Text = "%";
            this.label108.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label107
            // 
            this.label107.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label107.ForeColor = System.Drawing.Color.Navy;
            this.label107.Location = new System.Drawing.Point(156, 396);
            this.label107.Name = "label107";
            this.label107.Size = new System.Drawing.Size(18, 13);
            this.label107.TabIndex = 206;
            this.label107.Text = "%";
            this.label107.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_luongdh
            // 
            this.txtpc_luongdh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_luongdh.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_luongdh.Location = new System.Drawing.Point(106, 416);
            this.txtpc_luongdh.MaxLength = 10;
            this.txtpc_luongdh.Name = "txtpc_luongdh";
            this.txtpc_luongdh.Size = new System.Drawing.Size(48, 21);
            this.txtpc_luongdh.TabIndex = 69;
            this.txtpc_luongdh.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_luongdh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_luongdh.Validated += new System.EventHandler(this.txtpc_luongdh_Validated);
            this.txtpc_luongdh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtthuongtruc_le_KeyDown);
            // 
            // txtpc_luongtv
            // 
            this.txtpc_luongtv.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_luongtv.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_luongtv.Location = new System.Drawing.Point(106, 393);
            this.txtpc_luongtv.MaxLength = 10;
            this.txtpc_luongtv.Name = "txtpc_luongtv";
            this.txtpc_luongtv.Size = new System.Drawing.Size(48, 21);
            this.txtpc_luongtv.TabIndex = 68;
            this.txtpc_luongtv.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_luongtv.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_luongtv.Validated += new System.EventHandler(this.txtpc_luongtv_Validated);
            this.txtpc_luongtv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtthuongtruc_le_KeyDown);
            // 
            // label24
            // 
            this.label24.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label24.ForeColor = System.Drawing.Color.Navy;
            this.label24.Location = new System.Drawing.Point(162, 199);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(39, 13);
            this.label24.TabIndex = 212;
            this.label24.Text = "Loại B:";
            this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label100
            // 
            this.label100.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label100.ForeColor = System.Drawing.Color.Navy;
            this.label100.Location = new System.Drawing.Point(581, 35);
            this.label100.Name = "label100";
            this.label100.Size = new System.Drawing.Size(67, 13);
            this.label100.TabIndex = 157;
            this.label100.Text = "Hệ số BHXH:";
            this.label100.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label13
            // 
            this.label13.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label13.ForeColor = System.Drawing.Color.Navy;
            this.label13.Location = new System.Drawing.Point(6, 14);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(102, 14);
            this.label13.TabIndex = 191;
            this.label13.Text = "Khai báo chung";
            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtpc_mlphucap
            // 
            this.txtpc_mlphucap.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_mlphucap.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_mlphucap.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_mlphucap.Location = new System.Drawing.Point(124, 80);
            this.txtpc_mlphucap.MaxLength = 10;
            this.txtpc_mlphucap.Name = "txtpc_mlphucap";
            this.txtpc_mlphucap.Size = new System.Drawing.Size(80, 21);
            this.txtpc_mlphucap.TabIndex = 2;
            this.txtpc_mlphucap.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_mlphucap.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_mlphucap.Validated += new System.EventHandler(this.txtmucluong_Validated);
            this.txtpc_mlphucap.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmucluong_KeyDown);
            // 
            // label161
            // 
            this.label161.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label161.ForeColor = System.Drawing.Color.Navy;
            this.label161.Location = new System.Drawing.Point(147, 131);
            this.label161.Name = "label161";
            this.label161.Size = new System.Drawing.Size(54, 12);
            this.label161.TabIndex = 211;
            this.label161.Text = "Số tiền:";
            this.label161.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label20
            // 
            this.label20.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label20.ForeColor = System.Drawing.Color.Navy;
            this.label20.Location = new System.Drawing.Point(161, 175);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(40, 13);
            this.label20.TabIndex = 211;
            this.label20.Text = "Loại A:";
            this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpc_hstkiem
            // 
            this.txtpc_hstkiem.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_hstkiem.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_hstkiem.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_hstkiem.Location = new System.Drawing.Point(124, 57);
            this.txtpc_hstkiem.MaxLength = 10;
            this.txtpc_hstkiem.Name = "txtpc_hstkiem";
            this.txtpc_hstkiem.Size = new System.Drawing.Size(80, 21);
            this.txtpc_hstkiem.TabIndex = 1;
            this.txtpc_hstkiem.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_hstkiem.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_hstkiem.Validated += new System.EventHandler(this.txthstkiem_Validated);
            this.txtpc_hstkiem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtmucluong_KeyDown);
            // 
            // txtpc_sbhxh
            // 
            this.txtpc_sbhxh.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtpc_sbhxh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtpc_sbhxh.ForeColor = System.Drawing.Color.Navy;
            this.txtpc_sbhxh.Location = new System.Drawing.Point(650, 31);
            this.txtpc_sbhxh.MaxLength = 10;
            this.txtpc_sbhxh.Name = "txtpc_sbhxh";
            this.txtpc_sbhxh.Size = new System.Drawing.Size(80, 21);
            this.txtpc_sbhxh.TabIndex = 9;
            this.txtpc_sbhxh.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtpc_sbhxh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            this.txtpc_sbhxh.Validated += new System.EventHandler(this.txtbhxh_Validated);
            this.txtpc_sbhxh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtbhxh_KeyDown);
            // 
            // label106
            // 
            this.label106.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label106.ForeColor = System.Drawing.Color.Navy;
            this.label106.Location = new System.Drawing.Point(2, 396);
            this.label106.Name = "label106";
            this.label106.Size = new System.Drawing.Size(103, 13);
            this.label106.TabIndex = 189;
            this.label106.Text = "Mức lương thử việc:";
            this.label106.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label105
            // 
            this.label105.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label105.ForeColor = System.Drawing.Color.Navy;
            this.label105.Location = new System.Drawing.Point(12, 419);
            this.label105.Name = "label105";
            this.label105.Size = new System.Drawing.Size(92, 13);
            this.label105.TabIndex = 189;
            this.label105.Text = "Mức lương đi học:";
            this.label105.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label16
            // 
            this.label16.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.ForeColor = System.Drawing.Color.Navy;
            this.label16.Location = new System.Drawing.Point(-1, 83);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(123, 13);
            this.label16.TabIndex = 149;
            this.label16.Text = "Mức lương tính phụ cấp:";
            this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label75
            // 
            this.label75.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label75.ForeColor = System.Drawing.Color.Navy;
            this.label75.Location = new System.Drawing.Point(41, 61);
            this.label75.Name = "label75";
            this.label75.Size = new System.Drawing.Size(81, 13);
            this.label75.TabIndex = 148;
            this.label75.Text = "Hệ số tiết kiệm:";
            this.label75.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // tabpt
            // 
            this.tabpt.Controls.Add(this.groupBox3);
            this.tabpt.Controls.Add(this.txtloai);
            this.tabpt.Location = new System.Drawing.Point(4, 22);
            this.tabpt.Name = "tabpt";
            this.tabpt.Padding = new System.Windows.Forms.Padding(3);
            this.tabpt.Size = new System.Drawing.Size(780, 507);
            this.tabpt.TabIndex = 1;
            this.tabpt.Text = "Phụ cấp phẩu thuật - thủ thuật";
            this.tabpt.UseVisualStyleBackColor = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.panel4);
            this.groupBox3.Controls.Add(this.panel3);
            this.groupBox3.Controls.Add(this.panel2);
            this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox3.Location = new System.Drawing.Point(3, 3);
            this.groupBox3.Margin = new System.Windows.Forms.Padding(0);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Padding = new System.Windows.Forms.Padding(0);
            this.groupBox3.Size = new System.Drawing.Size(774, 501);
            this.groupBox3.TabIndex = 20;
            this.groupBox3.TabStop = false;
            // 
            // panel4
            // 
            this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panel4.Controls.Add(this.dataGridView1);
            this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel4.Location = new System.Drawing.Point(0, 64);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(774, 349);
            this.panel4.TabIndex = 2;
            // 
            // dataGridView1
            // 
            this.dataGridView1.AllowUserToAddRows = false;
            this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
            this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
            this.dataGridView1.ColumnHeadersHeight = 25;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column1,
            this.loai,
            this.cl_ptv,
            this.cl_bsgm,
            this.cl_ktvgm,
            this.cl_phu1,
            this.cl_phu2,
            this.cl_giupviec,
            this.cl_dungcu,
            this.pttt,
            this.Column7,
            this.Column9});
            this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridView1.Location = new System.Drawing.Point(0, 0);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.RowHeadersWidth = 10;
            this.dataGridView1.Size = new System.Drawing.Size(770, 345);
            this.dataGridView1.TabIndex = 2;
            this.dataGridView1.CurrentCellChanged += new System.EventHandler(this.dataGridView1_CurrentCellChanged);
            // 
            // Column1
            // 
            this.Column1.DataPropertyName = "tenloai";
            this.Column1.HeaderText = "Loại PTTT";
            this.Column1.Name = "Column1";
            // 
            // loai
            // 
            this.loai.DataPropertyName = "loai";
            this.loai.HeaderText = "loai";
            this.loai.Name = "loai";
            this.loai.Visible = false;
            // 
            // cl_ptv
            // 
            this.cl_ptv.DataPropertyName = "ptv";
            this.cl_ptv.HeaderText = "PTV Chính";
            this.cl_ptv.Name = "cl_ptv";
            // 
            // cl_bsgm
            // 
            this.cl_bsgm.DataPropertyName = "bsgayme";
            this.cl_bsgm.HeaderText = "BS gây mê";
            this.cl_bsgm.Name = "cl_bsgm";
            // 
            // cl_ktvgm
            // 
            this.cl_ktvgm.DataPropertyName = "ktvgayme";
            this.cl_ktvgm.HeaderText = "KTV Gây mê";
            this.cl_ktvgm.Name = "cl_ktvgm";
            // 
            // cl_phu1
            // 
            this.cl_phu1.DataPropertyName = "phu1";
            this.cl_phu1.HeaderText = "Phụ 1";
            this.cl_phu1.Name = "cl_phu1";
            // 
            // cl_phu2
            // 
            this.cl_phu2.DataPropertyName = "phu2";
            this.cl_phu2.HeaderText = "Phụ 2";
            this.cl_phu2.Name = "cl_phu2";
            // 
            // cl_giupviec
            // 
            this.cl_giupviec.DataPropertyName = "giupviec";
            this.cl_giupviec.HeaderText = "Giúp Việc";
            this.cl_giupviec.Name = "cl_giupviec";
            // 
            // cl_dungcu
            // 
            this.cl_dungcu.DataPropertyName = "dungcu";
            this.cl_dungcu.HeaderText = "Dụng cụ";
            this.cl_dungcu.Name = "cl_dungcu";
            this.cl_dungcu.ReadOnly = true;
            // 
            // pttt
            // 
            this.pttt.DataPropertyName = "pttt";
            this.pttt.HeaderText = "pttt";
            this.pttt.Name = "pttt";
            this.pttt.ReadOnly = true;
            this.pttt.Visible = false;
            // 
            // Column7
            // 
            this.Column7.DataPropertyName = "hoisuc";
            this.Column7.HeaderText = "hoisuc";
            this.Column7.Name = "Column7";
            this.Column7.ReadOnly = true;
            this.Column7.Visible = false;
            // 
            // Column9
            // 
            this.Column9.DataPropertyName = "mmyy";
            this.Column9.HeaderText = "mmyy";
            this.Column9.Name = "Column9";
            // 
            // panel3
            // 
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panel3.Controls.Add(this.txtpt_phu1);
            this.panel3.Controls.Add(this.txtpt_ktvgm);
            this.panel3.Controls.Add(this.label57);
            this.panel3.Controls.Add(this.txtpt_bsgm);
            this.panel3.Controls.Add(this.label56);
            this.panel3.Controls.Add(this.txtpt_dungcu);
            this.panel3.Controls.Add(this.label72);
            this.panel3.Controls.Add(this.txtpt_giupviec);
            this.panel3.Controls.Add(this.label55);
            this.panel3.Controls.Add(this.txtpt_phu2);
            this.panel3.Controls.Add(this.label73);
            this.panel3.Controls.Add(this.label54);
            this.panel3.Controls.Add(this.txtpt_ptvchinh);
            this.panel3.Controls.Add(this.label53);
            this.panel3.Controls.Add(this.btnpt_xoa);
            this.panel3.Controls.Add(this.btnpt_them);
            this.panel3.Controls.Add(this.btnpt_thoat);
            this.panel3.Controls.Add(this.btnpt_boqua);
            this.panel3.Controls.Add(this.btnpt_sua);
            this.panel3.Controls.Add(this.btnpt_luu);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel3.Location = new System.Drawing.Point(0, 413);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(774, 88);
            this.panel3.TabIndex = 1;
            // 
            // txtpt_phu1
            // 
            this.txtpt_phu1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_phu1.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_phu1.Enabled = false;
            this.txtpt_phu1.Location = new System.Drawing.Point(312, 6);
            this.txtpt_phu1.Name = "txtpt_phu1";
            this.txtpt_phu1.Size = new System.Drawing.Size(92, 21);
            this.txtpt_phu1.TabIndex = 1;
            this.txtpt_phu1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_phu1.Validated += new System.EventHandler(this.txtpt_phu1_Validated);
            this.txtpt_phu1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_phu1_KeyDown);
            this.txtpt_phu1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // txtpt_ktvgm
            // 
            this.txtpt_ktvgm.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_ktvgm.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_ktvgm.Enabled = false;
            this.txtpt_ktvgm.Location = new System.Drawing.Point(312, 30);
            this.txtpt_ktvgm.Name = "txtpt_ktvgm";
            this.txtpt_ktvgm.Size = new System.Drawing.Size(92, 21);
            this.txtpt_ktvgm.TabIndex = 5;
            this.txtpt_ktvgm.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_ktvgm.Validated += new System.EventHandler(this.txtpt_ktvgm_Validated);
            this.txtpt_ktvgm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_ktvgm_KeyDown);
            this.txtpt_ktvgm.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label57
            // 
            this.label57.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label57.ForeColor = System.Drawing.Color.Navy;
            this.label57.Location = new System.Drawing.Point(431, 9);
            this.label57.Name = "label57";
            this.label57.Size = new System.Drawing.Size(38, 13);
            this.label57.TabIndex = 7;
            this.label57.Text = "Phụ 2:";
            this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpt_bsgm
            // 
            this.txtpt_bsgm.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_bsgm.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_bsgm.Enabled = false;
            this.txtpt_bsgm.Location = new System.Drawing.Point(136, 29);
            this.txtpt_bsgm.Name = "txtpt_bsgm";
            this.txtpt_bsgm.Size = new System.Drawing.Size(92, 21);
            this.txtpt_bsgm.TabIndex = 4;
            this.txtpt_bsgm.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_bsgm.Validated += new System.EventHandler(this.txtpt_bsgm_Validated);
            this.txtpt_bsgm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_bsgm_KeyDown);
            this.txtpt_bsgm.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label56
            // 
            this.label56.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label56.ForeColor = System.Drawing.Color.Navy;
            this.label56.Location = new System.Drawing.Point(59, 32);
            this.label56.Name = "label56";
            this.label56.Size = new System.Drawing.Size(72, 17);
            this.label56.TabIndex = 9;
            this.label56.Text = "BS gây mê:";
            this.label56.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpt_dungcu
            // 
            this.txtpt_dungcu.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_dungcu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_dungcu.Enabled = false;
            this.txtpt_dungcu.Location = new System.Drawing.Point(625, 5);
            this.txtpt_dungcu.Name = "txtpt_dungcu";
            this.txtpt_dungcu.Size = new System.Drawing.Size(78, 21);
            this.txtpt_dungcu.TabIndex = 3;
            this.txtpt_dungcu.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_dungcu.Validated += new System.EventHandler(this.txtpt_dungcu_Validated);
            this.txtpt_dungcu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_dungcu_KeyDown);
            this.txtpt_dungcu.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label72
            // 
            this.label72.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label72.ForeColor = System.Drawing.Color.Navy;
            this.label72.Location = new System.Drawing.Point(417, 34);
            this.label72.Name = "label72";
            this.label72.Size = new System.Drawing.Size(54, 13);
            this.label72.TabIndex = 7;
            this.label72.Text = "Giúp Việc:";
            this.label72.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpt_giupviec
            // 
            this.txtpt_giupviec.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_giupviec.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_giupviec.Enabled = false;
            this.txtpt_giupviec.Location = new System.Drawing.Point(473, 30);
            this.txtpt_giupviec.Name = "txtpt_giupviec";
            this.txtpt_giupviec.Size = new System.Drawing.Size(92, 21);
            this.txtpt_giupviec.TabIndex = 6;
            this.txtpt_giupviec.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_giupviec.Validated += new System.EventHandler(this.txtpt_giupviec_Validated);
            this.txtpt_giupviec.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_giupviec_KeyDown);
            this.txtpt_giupviec.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label55
            // 
            this.label55.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label55.ForeColor = System.Drawing.Color.Navy;
            this.label55.Location = new System.Drawing.Point(244, 33);
            this.label55.Name = "label55";
            this.label55.Size = new System.Drawing.Size(67, 13);
            this.label55.TabIndex = 11;
            this.label55.Text = "KTV gây mê:";
            this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpt_phu2
            // 
            this.txtpt_phu2.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_phu2.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_phu2.Enabled = false;
            this.txtpt_phu2.Location = new System.Drawing.Point(473, 5);
            this.txtpt_phu2.Name = "txtpt_phu2";
            this.txtpt_phu2.Size = new System.Drawing.Size(92, 21);
            this.txtpt_phu2.TabIndex = 2;
            this.txtpt_phu2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_phu2.Validated += new System.EventHandler(this.txtpt_phu2_Validated);
            this.txtpt_phu2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_phu2_KeyDown);
            this.txtpt_phu2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label73
            // 
            this.label73.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label73.ForeColor = System.Drawing.Color.Navy;
            this.label73.Location = new System.Drawing.Point(569, 10);
            this.label73.Name = "label73";
            this.label73.Size = new System.Drawing.Size(50, 13);
            this.label73.TabIndex = 7;
            this.label73.Text = "Dụng cụ:";
            this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label54
            // 
            this.label54.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label54.ForeColor = System.Drawing.Color.Navy;
            this.label54.Location = new System.Drawing.Point(270, 8);
            this.label54.Name = "label54";
            this.label54.Size = new System.Drawing.Size(41, 13);
            this.label54.TabIndex = 5;
            this.label54.Text = "Phụ 1: ";
            this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtpt_ptvchinh
            // 
            this.txtpt_ptvchinh.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.txtpt_ptvchinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtpt_ptvchinh.Enabled = false;
            this.txtpt_ptvchinh.Location = new System.Drawing.Point(136, 5);
            this.txtpt_ptvchinh.Name = "txtpt_ptvchinh";
            this.txtpt_ptvchinh.Size = new System.Drawing.Size(92, 21);
            this.txtpt_ptvchinh.TabIndex = 0;
            this.txtpt_ptvchinh.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtpt_ptvchinh.Validated += new System.EventHandler(this.txtpt_ptvchinh_Validated);
            this.txtpt_ptvchinh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpt_ptvchinh_KeyDown);
            this.txtpt_ptvchinh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtmucluong_KeyPress);
            // 
            // label53
            // 
            this.label53.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.label53.ForeColor = System.Drawing.Color.Navy;
            this.label53.Location = new System.Drawing.Point(72, 5);
            this.label53.Name = "label53";
            this.label53.Size = new System.Drawing.Size(59, 18);
            this.label53.TabIndex = 3;
            this.label53.Text = "PTV Chính:";
            this.label53.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // btnpt_xoa
            // 
            this.btnpt_xoa.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_xoa.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_xoa.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_xoa.Image = global::Human.Properties.Resources.close_r;
            this.btnpt_xoa.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_xoa.Location = new System.Drawing.Point(354, 55);
            this.btnpt_xoa.Name = "btnpt_xoa";
            this.btnpt_xoa.Size = new System.Drawing.Size(65, 28);
            this.btnpt_xoa.TabIndex = 11;
            this.btnpt_xoa.Text = "  &Hủy";
            this.btnpt_xoa.UseVisualStyleBackColor = true;
            this.btnpt_xoa.Click += new System.EventHandler(this.btnpt_xoa_Click);
            // 
            // btnpt_them
            // 
            this.btnpt_them.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_them.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_them.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_them.Image = global::Human.Properties.Resources.add;
            this.btnpt_them.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_them.Location = new System.Drawing.Point(217, 55);
            this.btnpt_them.Name = "btnpt_them";
            this.btnpt_them.Size = new System.Drawing.Size(65, 28);
            this.btnpt_them.TabIndex = 7;
            this.btnpt_them.Text = "  &Mới";
            this.btnpt_them.UseVisualStyleBackColor = true;
            this.btnpt_them.Click += new System.EventHandler(this.btnpt_them_Click);
            // 
            // btnpt_thoat
            // 
            this.btnpt_thoat.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_thoat.Enabled = false;
            this.btnpt_thoat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_thoat.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_thoat.Image = global::Human.Properties.Resources.close_r;
            this.btnpt_thoat.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_thoat.Location = new System.Drawing.Point(558, 55);
            this.btnpt_thoat.Name = "btnpt_thoat";
            this.btnpt_thoat.Size = new System.Drawing.Size(65, 28);
            this.btnpt_thoat.TabIndex = 10;
            this.btnpt_thoat.Text = "  &Thoát";
            this.btnpt_thoat.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnpt_thoat.UseVisualStyleBackColor = true;
            this.btnpt_thoat.Click += new System.EventHandler(this.btnpt_thoat_Click);
            // 
            // btnpt_boqua
            // 
            this.btnpt_boqua.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_boqua.Enabled = false;
            this.btnpt_boqua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_boqua.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_boqua.Image = ((System.Drawing.Image)(resources.GetObject("btnpt_boqua.Image")));
            this.btnpt_boqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_boqua.Location = new System.Drawing.Point(490, 55);
            this.btnpt_boqua.Name = "btnpt_boqua";
            this.btnpt_boqua.Size = new System.Drawing.Size(65, 28);
            this.btnpt_boqua.TabIndex = 10;
            this.btnpt_boqua.Text = "&Bỏ qua";
            this.btnpt_boqua.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnpt_boqua.UseVisualStyleBackColor = true;
            this.btnpt_boqua.Click += new System.EventHandler(this.btnpt_boqua_Click);
            // 
            // btnpt_sua
            // 
            this.btnpt_sua.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_sua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_sua.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_sua.Image = global::Human.Properties.Resources.quick_edit;
            this.btnpt_sua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_sua.Location = new System.Drawing.Point(286, 55);
            this.btnpt_sua.Name = "btnpt_sua";
            this.btnpt_sua.Size = new System.Drawing.Size(65, 28);
            this.btnpt_sua.TabIndex = 8;
            this.btnpt_sua.Text = "   &Sửa";
            this.btnpt_sua.UseVisualStyleBackColor = true;
            this.btnpt_sua.Click += new System.EventHandler(this.btnpt_sua_Click);
            // 
            // btnpt_luu
            // 
            this.btnpt_luu.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnpt_luu.Enabled = false;
            this.btnpt_luu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnpt_luu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.btnpt_luu.Image = global::Human.Properties.Resources.save;
            this.btnpt_luu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnpt_luu.Location = new System.Drawing.Point(422, 55);
            this.btnpt_luu.Name = "btnpt_luu";
            this.btnpt_luu.Size = new System.Drawing.Size(65, 28);
            this.btnpt_luu.TabIndex = 9;
            this.btnpt_luu.Text = "   &Lưu";
            this.btnpt_luu.UseVisualStyleBackColor = true;
            this.btnpt_luu.Click += new System.EventHandler(this.btnpt_luu_Click);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.gpBPTTT);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 14);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(774, 50);
            this.panel2.TabIndex = 0;
            // 
            // gpBPTTT
            // 
            this.gpBPTTT.Controls.Add(this.radpt_tthuat);
            this.gpBPTTT.Controls.Add(this.label52);
            this.gpBPTTT.Controls.Add(this.radpt_pthuat);
            this.gpBPTTT.Controls.Add(this.cbopt_loaipt);
            this.gpBPTTT.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gpBPTTT.Location = new System.Drawing.Point(0, 0);
            this.gpBPTTT.Margin = new System.Windows.Forms.Padding(0);
            this.gpBPTTT.Name = "gpBPTTT";
            this.gpBPTTT.Padding = new System.Windows.Forms.Padding(0);
            this.gpBPTTT.Size = new System.Drawing.Size(774, 50);
            this.gpBPTTT.TabIndex = 0;
            this.gpBPTTT.TabStop = false;
            this.gpBPTTT.Tag = "P";
            // 
            // radpt_tthuat
            // 
            this.radpt_tthuat.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.radpt_tthuat.Location = new System.Drawing.Point(91, 12);
            this.radpt_tthuat.Name = "radpt_tthuat";
            this.radpt_tthuat.Size = new System.Drawing.Size(72, 17);
            this.radpt_tthuat.TabIndex = 1;
            this.radpt_tthuat.Tag = "T";
            this.radpt_tthuat.Text = "Thủ thuật";
            this.radpt_tthuat.UseVisualStyleBackColor = true;
            this.radpt_tthuat.CheckedChanged += new System.EventHandler(this.radpt_tthuat_CheckedChanged);
            // 
            // label52
            // 
            this.label52.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.label52.Location = new System.Drawing.Point(169, 14);
            this.label52.Name = "label52";
            this.label52.Size = new System.Drawing.Size(30, 13);
            this.label52.TabIndex = 1;
            this.label52.Text = "Loại:";
            this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // radpt_pthuat
            // 
            this.radpt_pthuat.Checked = true;
            this.radpt_pthuat.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.radpt_pthuat.Location = new System.Drawing.Point(7, 12);
            this.radpt_pthuat.Name = "radpt_pthuat";
            this.radpt_pthuat.Size = new System.Drawing.Size(78, 17);
            this.radpt_pthuat.TabIndex = 0;
            this.radpt_pthuat.TabStop = true;
            this.radpt_pthuat.Tag = "P";
            this.radpt_pthuat.Text = "Phẩu thuật";
            this.radpt_pthuat.UseVisualStyleBackColor = true;
            this.radpt_pthuat.CheckedChanged += new System.EventHandler(this.radpt_pthuat_CheckedChanged);
            // 
            // cbopt_loaipt
            // 
            this.cbopt_loaipt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbopt_loaipt.ForeColor = System.Drawing.Color.Navy;
            this.cbopt_loaipt.Location = new System.Drawing.Point(201, 11);
            this.cbopt_loaipt.Name = "cbopt_loaipt";
            this.cbopt_loaipt.Size = new System.Drawing.Size(172, 21);
            this.cbopt_loaipt.TabIndex = 2;
            this.cbopt_loaipt.SelectedIndexChanged += new System.EventHandler(this.cbopt_loaipt_SelectedIndexChanged);
            // 
            // txtloai
            // 
            this.txtloai.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtloai.Enabled = false;
            this.txtloai.Location = new System.Drawing.Point(127, 193);
            this.txtloai.Name = "txtloai";
            this.txtloai.Size = new System.Drawing.Size(92, 21);
            this.txtloai.TabIndex = 19;
            this.txtloai.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // tabbh
            // 
            this.tabbh.Controls.Add(this.gr_tylettn);
            this.tabbh.Controls.Add(this.gr_hsbh);
            this.tabbh.Controls.Add(this.btn_tbhsua);
            this.tabbh.Controls.Add(this.btn_tbhboqua);
            this.tabbh.Controls.Add(this.btnbh_thoat);
            this.tabbh.Location = new System.Drawing.Point(4, 22);
            this.tabbh.Name = "tabbh";
            this.tabbh.Padding = new System.Windows.Forms.Padding(3);
            this.tabbh.Size = new System.Drawing.Size(780, 507);
            this.tabbh.TabIndex = 3;
            this.tabbh.Text = "Hệ số tính bảo hiểm";
            this.tabbh.UseVisualStyleBackColor = true;
            // 
            // gr_tylettn
            // 
            this.gr_tylettn.Controls.Add(this.txt_ttnid);
            this.gr_tylettn.Controls.Add(this.btn_ttnboqua);
            this.gr_tylettn.Controls.Add(this.btn_ttnluu);
            this.gr_tylettn.Controls.Add(this.btn_ttnxoa);
            this.gr_tylettn.Controls.Add(this.btn_ttnsua);
            this.gr_tylettn.Controls.Add(this.btn_ttnthem);
            this.gr_tylettn.Controls.Add(this.label148);
            this.gr_tylettn.Controls.Add(this.label147);
            this.gr_tylettn.Controls.Add(this.txt_ttntyle);
            this.gr_tylettn.Controls.Add(this.label146);
            this.gr_tylettn.Controls.Add(this.txt_ttnden);
            this.gr_tylettn.Controls.Add(this.dgrv_tylettn);
            this.gr_tylettn.Controls.Add(this.txt_ttntu);
            this.gr_tylettn.Location = new System.Drawing.Point(299, 6);
            this.gr_tylettn.Name = "gr_tylettn";
            this.gr_tylettn.Size = new System.Drawing.Size(478, 259);
            this.gr_tylettn.TabIndex = 14;
            this.gr_tylettn.TabStop = false;
            this.gr_tylettn.Text = "Khai báo tỷ lệ đóng thuế thu nhập";
            // 
            // txt_ttnid
            // 
            this.txt_ttnid.Location = new System.Drawing.Point(419, 225);
            this.txt_ttnid.Name = "txt_ttnid";
            this.txt_ttnid.Size = new System.Drawing.Size(55, 21);
            this.txt_ttnid.TabIndex = 16;
            this.txt_ttnid.Visible = false;
            // 
            // btn_ttnboqua
            // 
            this.btn_ttnboqua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_ttnboqua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_ttnboqua.Image = global::Human.Properties.Resources.undo_2005;
            this.btn_ttnboqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_ttnboqua.Location = new System.Drawing.Point(347, 224);
            this.btn_ttnboqua.Name = "btn_ttnboqua";
            this.btn_ttnboqua.Size = new System.Drawing.Size(65, 28);
            this.btn_ttnboqua.TabIndex = 8;
            this.btn_ttnboqua.Text = "&Bỏ qua";
            this.btn_ttnboqua.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btn_ttnboqua.UseVisualStyleBackColor = true;
            this.btn_ttnboqua.Click += new System.EventHandler(this.btn_ttnboqua_Click);
            // 
            // btn_ttnluu
            // 
            this.btn_ttnluu.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_ttnluu.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_ttnluu.Image = global::Human.Properties.Resources.save;
            this.btn_ttnluu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_ttnluu.Location = new System.Drawing.Point(279, 224);
            this.btn_ttnluu.Name = "btn_ttnluu";
            this.btn_ttnluu.Size = new System.Drawing.Size(65, 28);
            this.btn_ttnluu.TabIndex = 4;
            this.btn_ttnluu.Text = "   &Lưu";
            this.btn_ttnluu.UseVisualStyleBackColor = true;
            this.btn_ttnluu.Click += new System.EventHandler(this.btn_ttnluu_Click);
            // 
            // btn_ttnxoa
            // 
            this.btn_ttnxoa.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_ttnxoa.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_ttnxoa.Image = global::Human.Properties.Resources.delete_enabled;
            this.btn_ttnxoa.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_ttnxoa.Location = new System.Drawing.Point(211, 224);
            this.btn_ttnxoa.Name = "btn_ttnxoa";
            this.btn_ttnxoa.Size = new System.Drawing.Size(65, 28);
            this.btn_ttnxoa.TabIndex = 7;
            this.btn_ttnxoa.Text = "     &Xóa";
            this.btn_ttnxoa.UseVisualStyleBackColor = true;
            this.btn_ttnxoa.Click += new System.EventHandler(this.btn_ttnxoa_Click);
            // 
            // btn_ttnsua
            // 
            this.btn_ttnsua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_ttnsua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_ttnsua.Image = global::Human.Properties.Resources.quick_edit;
            this.btn_ttnsua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_ttnsua.Location = new System.Drawing.Point(142, 224);
            this.btn_ttnsua.Name = "btn_ttnsua";
            this.btn_ttnsua.Size = new System.Drawing.Size(65, 28);
            this.btn_ttnsua.TabIndex = 6;
            this.btn_ttnsua.Text = "     &Sửa";
            this.btn_ttnsua.UseVisualStyleBackColor = true;
            this.btn_ttnsua.Click += new System.EventHandler(this.btn_ttnsua_Click);
            // 
            // btn_ttnthem
            // 
            this.btn_ttnthem.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_ttnthem.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_ttnthem.Image = global::Human.Properties.Resources.add;
            this.btn_ttnthem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_ttnthem.Location = new System.Drawing.Point(73, 224);
            this.btn_ttnthem.Name = "btn_ttnthem";
            this.btn_ttnthem.Size = new System.Drawing.Size(65, 28);
            this.btn_ttnthem.TabIndex = 5;
            this.btn_ttnthem.Text = "     &Thêm";
            this.btn_ttnthem.UseVisualStyleBackColor = true;
            this.btn_ttnthem.Click += new System.EventHandler(this.btn_ttnthem_Click);
            // 
            // label148
            // 
            this.label148.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label148.ForeColor = System.Drawing.Color.DarkBlue;
            this.label148.Location = new System.Drawing.Point(371, 199);
            this.label148.Name = "label148";
            this.label148.Size = new System.Drawing.Size(42, 23);
            this.label148.TabIndex = 14;
            this.label148.Text = "Tỷ lệ";
            this.label148.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label147
            // 
            this.label147.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label147.ForeColor = System.Drawing.Color.DarkBlue;
            this.label147.Location = new System.Drawing.Point(181, 198);
            this.label147.Name = "label147";
            this.label147.Size = new System.Drawing.Size(92, 23);
            this.label147.TabIndex = 13;
            this.label147.Text = "Thu nhập đến";
            this.label147.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txt_ttntyle
            // 
            this.txt_ttntyle.Location = new System.Drawing.Point(419, 198);
            this.txt_ttntyle.Name = "txt_ttntyle";
            this.txt_ttntyle.Size = new System.Drawing.Size(55, 21);
            this.txt_ttntyle.TabIndex = 3;
            this.txt_ttntyle.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_ttntyle_KeyPress);
            this.txt_ttntyle.Validated += new System.EventHandler(this.txt_ttntyle_Validated);
            this.txt_ttntyle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ttntyle_KeyDown);
            // 
            // label146
            // 
            this.label146.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label146.ForeColor = System.Drawing.Color.DarkBlue;
            this.label146.Location = new System.Drawing.Point(6, 196);
            this.label146.Name = "label146";
            this.label146.Size = new System.Drawing.Size(80, 23);
            this.label146.TabIndex = 12;
            this.label146.Text = "Thu nhập từ";
            this.label146.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txt_ttnden
            // 
            this.txt_ttnden.Location = new System.Drawing.Point(278, 198);
            this.txt_ttnden.Name = "txt_ttnden";
            this.txt_ttnden.Size = new System.Drawing.Size(87, 21);
            this.txt_ttnden.TabIndex = 2;
            this.txt_ttnden.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_ttnden_KeyPress);
            this.txt_ttnden.Validated += new System.EventHandler(this.txt_ttnden_Validated);
            this.txt_ttnden.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ttnden_KeyDown);
            // 
            // dgrv_tylettn
            // 
            this.dgrv_tylettn.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgrv_tylettn.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.ttn_tu,
            this.ttn_den,
            this.ttn_tyle});
            this.dgrv_tylettn.Enabled = false;
            this.dgrv_tylettn.Location = new System.Drawing.Point(7, 24);
            this.dgrv_tylettn.Name = "dgrv_tylettn";
            this.dgrv_tylettn.RowHeadersVisible = false;
            this.dgrv_tylettn.Size = new System.Drawing.Size(466, 167);
            this.dgrv_tylettn.TabIndex = 1;
            this.dgrv_tylettn.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgrv_tylettn_CellContentClick);
            // 
            // ttn_tu
            // 
            this.ttn_tu.DataPropertyName = "gh_duoi";
            this.ttn_tu.HeaderText = "Thu nhập từ";
            this.ttn_tu.Name = "ttn_tu";
            this.ttn_tu.Width = 150;
            // 
            // ttn_den
            // 
            this.ttn_den.DataPropertyName = "gh_tren";
            this.ttn_den.HeaderText = "Thu nhập đến";
            this.ttn_den.Name = "ttn_den";
            this.ttn_den.Width = 150;
            // 
            // ttn_tyle
            // 
            this.ttn_tyle.DataPropertyName = "tyle_thue";
            this.ttn_tyle.HeaderText = "Tỷ lệ";
            this.ttn_tyle.Name = "ttn_tyle";
            this.ttn_tyle.Width = 200;
            // 
            // txt_ttntu
            // 
            this.txt_ttntu.Location = new System.Drawing.Point(92, 198);
            this.txt_ttntu.Name = "txt_ttntu";
            this.txt_ttntu.Size = new System.Drawing.Size(88, 21);
            this.txt_ttntu.TabIndex = 1;
            this.txt_ttntu.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_ttntu_KeyPress);
            this.txt_ttntu.Validated += new System.EventHandler(this.txt_ttntu_Validated);
            this.txt_ttntu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_ttntu_KeyDown);
            // 
            // gr_hsbh
            // 
            this.gr_hsbh.Controls.Add(this.groupBox4);
            this.gr_hsbh.Controls.Add(this.rad_kpcd);
            this.gr_hsbh.Controls.Add(this.cbo_hopdong);
            this.gr_hsbh.Controls.Add(this.rad_bhtn);
            this.gr_hsbh.Controls.Add(this.btn_luubh);
            this.gr_hsbh.Controls.Add(this.rad_bhyt);
            this.gr_hsbh.Controls.Add(this.btnbh_sua);
            this.gr_hsbh.Controls.Add(this.rad_bhxh);
            this.gr_hsbh.Controls.Add(this.btn_boquabh);
            this.gr_hsbh.Controls.Add(this.label9);
            this.gr_hsbh.Location = new System.Drawing.Point(3, 6);
            this.gr_hsbh.Name = "gr_hsbh";
            this.gr_hsbh.Size = new System.Drawing.Size(290, 259);
            this.gr_hsbh.TabIndex = 13;
            this.gr_hsbh.TabStop = false;
            this.gr_hsbh.Text = "Khai báo hệ số đóng bảo hiểm";
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.chk_hsdh);
            this.groupBox4.Controls.Add(this.chk_hstn);
            this.groupBox4.Controls.Add(this.chk_hsvk);
            this.groupBox4.Controls.Add(this.chk_hskv);
            this.groupBox4.Controls.Add(this.chk_hslg);
            this.groupBox4.Controls.Add(this.chk_hscv);
            this.groupBox4.Controls.Add(this.chk_luongkhoan);
            this.groupBox4.Location = new System.Drawing.Point(6, 99);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(263, 114);
            this.groupBox4.TabIndex = 4;
            this.groupBox4.TabStop = false;
            // 
            // chk_hsdh
            // 
            this.chk_hsdh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hsdh.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hsdh.Location = new System.Drawing.Point(19, 89);
            this.chk_hsdh.Name = "chk_hsdh";
            this.chk_hsdh.Size = new System.Drawing.Size(85, 18);
            this.chk_hsdh.TabIndex = 6;
            this.chk_hsdh.Text = "HS Độc hại";
            this.chk_hsdh.UseVisualStyleBackColor = true;
            this.chk_hsdh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsdh_KeyDown);
            // 
            // chk_hstn
            // 
            this.chk_hstn.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hstn.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hstn.Location = new System.Drawing.Point(135, 65);
            this.chk_hstn.Name = "chk_hstn";
            this.chk_hstn.Size = new System.Drawing.Size(113, 18);
            this.chk_hstn.TabIndex = 5;
            this.chk_hstn.Text = "HS Trách nhiệm";
            this.chk_hstn.UseVisualStyleBackColor = true;
            this.chk_hstn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hstn_KeyDown);
            // 
            // chk_hsvk
            // 
            this.chk_hsvk.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hsvk.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hsvk.Location = new System.Drawing.Point(135, 40);
            this.chk_hsvk.Name = "chk_hsvk";
            this.chk_hsvk.Size = new System.Drawing.Size(111, 18);
            this.chk_hsvk.TabIndex = 3;
            this.chk_hsvk.Text = "HS Vượt khung";
            this.chk_hsvk.UseVisualStyleBackColor = true;
            this.chk_hsvk.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hsvk_KeyDown);
            // 
            // chk_hskv
            // 
            this.chk_hskv.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hskv.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hskv.Location = new System.Drawing.Point(19, 65);
            this.chk_hskv.Name = "chk_hskv";
            this.chk_hskv.Size = new System.Drawing.Size(90, 18);
            this.chk_hskv.TabIndex = 4;
            this.chk_hskv.Text = "HS Khu vực";
            this.chk_hskv.UseVisualStyleBackColor = true;
            this.chk_hskv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hskv_KeyDown);
            // 
            // chk_hslg
            // 
            this.chk_hslg.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hslg.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hslg.Location = new System.Drawing.Point(135, 17);
            this.chk_hslg.Name = "chk_hslg";
            this.chk_hslg.Size = new System.Drawing.Size(80, 18);
            this.chk_hslg.TabIndex = 1;
            this.chk_hslg.Text = "HS Lương";
            this.chk_hslg.UseVisualStyleBackColor = true;
            this.chk_hslg.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hslg_KeyDown);
            // 
            // chk_hscv
            // 
            this.chk_hscv.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_hscv.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_hscv.Location = new System.Drawing.Point(19, 40);
            this.chk_hscv.Name = "chk_hscv";
            this.chk_hscv.Size = new System.Drawing.Size(90, 18);
            this.chk_hscv.TabIndex = 2;
            this.chk_hscv.Text = "HS Chức vụ";
            this.chk_hscv.UseVisualStyleBackColor = true;
            this.chk_hscv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_hscv_KeyDown);
            // 
            // chk_luongkhoan
            // 
            this.chk_luongkhoan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_luongkhoan.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_luongkhoan.Location = new System.Drawing.Point(19, 16);
            this.chk_luongkhoan.Name = "chk_luongkhoan";
            this.chk_luongkhoan.Size = new System.Drawing.Size(98, 18);
            this.chk_luongkhoan.TabIndex = 0;
            this.chk_luongkhoan.Text = "Lương khoán";
            this.chk_luongkhoan.UseVisualStyleBackColor = true;
            this.chk_luongkhoan.CheckedChanged += new System.EventHandler(this.chk_luongkhoan_CheckedChanged);
            this.chk_luongkhoan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.chk_luongkhoan_KeyDown);
            // 
            // rad_kpcd
            // 
            this.rad_kpcd.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rad_kpcd.ForeColor = System.Drawing.Color.DarkBlue;
            this.rad_kpcd.Location = new System.Drawing.Point(123, 48);
            this.rad_kpcd.Name = "rad_kpcd";
            this.rad_kpcd.Size = new System.Drawing.Size(101, 18);
            this.rad_kpcd.TabIndex = 2;
            this.rad_kpcd.Text = "KP công đoàn";
            this.rad_kpcd.UseVisualStyleBackColor = true;
            this.rad_kpcd.CheckedChanged += new System.EventHandler(this.rad_kpcd_CheckedChanged);
            this.rad_kpcd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rad_kpcd_KeyDown);
            // 
            // cbo_hopdong
            // 
            this.cbo_hopdong.FormattingEnabled = true;
            this.cbo_hopdong.Location = new System.Drawing.Point(123, 72);
            this.cbo_hopdong.Name = "cbo_hopdong";
            this.cbo_hopdong.Size = new System.Drawing.Size(142, 21);
            this.cbo_hopdong.TabIndex = 3;
            this.cbo_hopdong.SelectedIndexChanged += new System.EventHandler(this.cbo_hopdong_SelectedIndexChanged);
            this.cbo_hopdong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbo_hopdong_KeyDown);
            // 
            // rad_bhtn
            // 
            this.rad_bhtn.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rad_bhtn.ForeColor = System.Drawing.Color.DarkBlue;
            this.rad_bhtn.Location = new System.Drawing.Point(6, 48);
            this.rad_bhtn.Name = "rad_bhtn";
            this.rad_bhtn.Size = new System.Drawing.Size(111, 18);
            this.rad_bhtn.TabIndex = 2;
            this.rad_bhtn.Text = "BH Thất nghiệp";
            this.rad_bhtn.UseVisualStyleBackColor = true;
            this.rad_bhtn.CheckedChanged += new System.EventHandler(this.rad_bhtn_CheckedChanged);
            this.rad_bhtn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rad_bhtn_KeyDown);
            // 
            // btn_luubh
            // 
            this.btn_luubh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_luubh.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_luubh.Image = global::Human.Properties.Resources.save;
            this.btn_luubh.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_luubh.Location = new System.Drawing.Point(42, 224);
            this.btn_luubh.Name = "btn_luubh";
            this.btn_luubh.Size = new System.Drawing.Size(65, 28);
            this.btn_luubh.TabIndex = 4;
            this.btn_luubh.Text = "    &Lưu";
            this.btn_luubh.UseVisualStyleBackColor = true;
            this.btn_luubh.Click += new System.EventHandler(this.btn_luubh_Click);
            // 
            // rad_bhyt
            // 
            this.rad_bhyt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rad_bhyt.ForeColor = System.Drawing.Color.DarkBlue;
            this.rad_bhyt.Location = new System.Drawing.Point(123, 24);
            this.rad_bhyt.Name = "rad_bhyt";
            this.rad_bhyt.Size = new System.Drawing.Size(68, 18);
            this.rad_bhyt.TabIndex = 1;
            this.rad_bhyt.Text = "BH Y tế";
            this.rad_bhyt.UseVisualStyleBackColor = true;
            this.rad_bhyt.CheckedChanged += new System.EventHandler(this.rad_bhyt_CheckedChanged);
            this.rad_bhyt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rad_bhyt_KeyDown);
            // 
            // btnbh_sua
            // 
            this.btnbh_sua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnbh_sua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnbh_sua.Image = global::Human.Properties.Resources.quick_edit;
            this.btnbh_sua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnbh_sua.Location = new System.Drawing.Point(111, 224);
            this.btnbh_sua.Name = "btnbh_sua";
            this.btnbh_sua.Size = new System.Drawing.Size(65, 28);
            this.btnbh_sua.TabIndex = 4;
            this.btnbh_sua.Text = "    &Sửa";
            this.btnbh_sua.UseVisualStyleBackColor = true;
            this.btnbh_sua.Click += new System.EventHandler(this.btnbh_sua_Click);
            // 
            // rad_bhxh
            // 
            this.rad_bhxh.Checked = true;
            this.rad_bhxh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rad_bhxh.ForeColor = System.Drawing.Color.DarkBlue;
            this.rad_bhxh.Location = new System.Drawing.Point(6, 24);
            this.rad_bhxh.Name = "rad_bhxh";
            this.rad_bhxh.Size = new System.Drawing.Size(77, 18);
            this.rad_bhxh.TabIndex = 0;
            this.rad_bhxh.TabStop = true;
            this.rad_bhxh.Text = "BH Xã hội";
            this.rad_bhxh.UseVisualStyleBackColor = true;
            this.rad_bhxh.CheckedChanged += new System.EventHandler(this.rad_bhxh_CheckedChanged);
            this.rad_bhxh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rad_bhxh_KeyDown);
            // 
            // label9
            // 
            this.label9.ForeColor = System.Drawing.Color.DarkBlue;
            this.label9.Location = new System.Drawing.Point(39, 75);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(78, 13);
            this.label9.TabIndex = 12;
            this.label9.Text = "Loại hợp đồng:";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // btn_tbhsua
            // 
            this.btn_tbhsua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_tbhsua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_tbhsua.Image = global::Human.Properties.Resources.quick_edit;
            this.btn_tbhsua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_tbhsua.Location = new System.Drawing.Point(341, 471);
            this.btn_tbhsua.Name = "btn_tbhsua";
            this.btn_tbhsua.Size = new System.Drawing.Size(65, 28);
            this.btn_tbhsua.TabIndex = 5;
            this.btn_tbhsua.Text = "   &Sửa";
            this.btn_tbhsua.UseVisualStyleBackColor = true;
            this.btn_tbhsua.Click += new System.EventHandler(this.btn_tbhsua_Click);
            // 
            // btn_tbhboqua
            // 
            this.btn_tbhboqua.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btn_tbhboqua.ForeColor = System.Drawing.Color.DarkBlue;
            this.btn_tbhboqua.Image = global::Human.Properties.Resources.undo_2005;
            this.btn_tbhboqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btn_tbhboqua.Location = new System.Drawing.Point(412, 471);
            this.btn_tbhboqua.Name = "btn_tbhboqua";
            this.btn_tbhboqua.Size = new System.Drawing.Size(65, 28);
            this.btn_tbhboqua.TabIndex = 5;
            this.btn_tbhboqua.Text = "&Bỏ qua";
            this.btn_tbhboqua.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btn_tbhboqua.UseVisualStyleBackColor = true;
            this.btn_tbhboqua.Click += new System.EventHandler(this.btn_tbhboqua_Click);
            // 
            // btnbh_thoat
            // 
            this.btnbh_thoat.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnbh_thoat.ForeColor = System.Drawing.Color.DarkBlue;
            this.btnbh_thoat.Image = global::Human.Properties.Resources.close_r;
            this.btnbh_thoat.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnbh_thoat.Location = new System.Drawing.Point(483, 471);
            this.btnbh_thoat.Name = "btnbh_thoat";
            this.btnbh_thoat.Size = new System.Drawing.Size(65, 28);
            this.btnbh_thoat.TabIndex = 5;
            this.btnbh_thoat.Text = "&Thoát";
            this.btnbh_thoat.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnbh_thoat.UseVisualStyleBackColor = true;
            this.btnbh_thoat.Click += new System.EventHandler(this.btnbh_thoat_Click);
            // 
            // txtl3_p2
            // 
            this.txtl3_p2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl3_p2.ForeColor = System.Drawing.Color.Navy;
            this.txtl3_p2.Location = new System.Drawing.Point(627, 279);
            this.txtl3_p2.MaxLength = 7;
            this.txtl3_p2.Name = "txtl3_p2";
            this.txtl3_p2.Size = new System.Drawing.Size(72, 21);
            this.txtl3_p2.TabIndex = 11;
            this.txtl3_p2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl3_p2.Validated += new System.EventHandler(this.txtl3_p2_Validated);
            this.txtl3_p2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl3_p2_KeyDown);
            // 
            // label41
            // 
            this.label41.AutoSize = true;
            this.label41.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label41.ForeColor = System.Drawing.Color.Navy;
            this.label41.Location = new System.Drawing.Point(587, 283);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(34, 13);
            this.label41.TabIndex = 238;
            this.label41.Text = "Phụ 2";
            this.label41.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtl3_p1
            // 
            this.txtl3_p1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl3_p1.ForeColor = System.Drawing.Color.Navy;
            this.txtl3_p1.Location = new System.Drawing.Point(627, 255);
            this.txtl3_p1.MaxLength = 7;
            this.txtl3_p1.Name = "txtl3_p1";
            this.txtl3_p1.Size = new System.Drawing.Size(72, 21);
            this.txtl3_p1.TabIndex = 10;
            this.txtl3_p1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl3_p1.Validated += new System.EventHandler(this.txtl3_p1_Validated);
            this.txtl3_p1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl3_p1_KeyDown);
            // 
            // label42
            // 
            this.label42.AutoSize = true;
            this.label42.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label42.ForeColor = System.Drawing.Color.Navy;
            this.label42.Location = new System.Drawing.Point(587, 236);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(34, 13);
            this.label42.TabIndex = 235;
            this.label42.Text = "Chính";
            this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label43
            // 
            this.label43.BackColor = System.Drawing.Color.Transparent;
            this.label43.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label43.ForeColor = System.Drawing.Color.Navy;
            this.label43.Location = new System.Drawing.Point(530, 206);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(176, 16);
            this.label43.TabIndex = 237;
            this.label43.Text = "Ca mổ loại 3:";
            this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtl3_c
            // 
            this.txtl3_c.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl3_c.ForeColor = System.Drawing.Color.Navy;
            this.txtl3_c.Location = new System.Drawing.Point(627, 231);
            this.txtl3_c.MaxLength = 7;
            this.txtl3_c.Name = "txtl3_c";
            this.txtl3_c.Size = new System.Drawing.Size(72, 21);
            this.txtl3_c.TabIndex = 9;
            this.txtl3_c.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl3_c.Validated += new System.EventHandler(this.txtl3_c_Validated);
            this.txtl3_c.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl3_c_KeyDown);
            // 
            // label44
            // 
            this.label44.AutoSize = true;
            this.label44.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label44.ForeColor = System.Drawing.Color.Navy;
            this.label44.Location = new System.Drawing.Point(588, 260);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(34, 13);
            this.label44.TabIndex = 236;
            this.label44.Text = "Phụ 1";
            this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtl2_p2
            // 
            this.txtl2_p2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl2_p2.ForeColor = System.Drawing.Color.Navy;
            this.txtl2_p2.Location = new System.Drawing.Point(449, 282);
            this.txtl2_p2.MaxLength = 7;
            this.txtl2_p2.Name = "txtl2_p2";
            this.txtl2_p2.Size = new System.Drawing.Size(72, 21);
            this.txtl2_p2.TabIndex = 8;
            this.txtl2_p2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl2_p2.Validated += new System.EventHandler(this.txtl2_p2_Validated);
            this.txtl2_p2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl2_p2_KeyDown);
            // 
            // label45
            // 
            this.label45.AutoSize = true;
            this.label45.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label45.ForeColor = System.Drawing.Color.Navy;
            this.label45.Location = new System.Drawing.Point(409, 286);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(34, 13);
            this.label45.TabIndex = 231;
            this.label45.Text = "Phụ 2";
            this.label45.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtl2_p1
            // 
            this.txtl2_p1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl2_p1.ForeColor = System.Drawing.Color.Navy;
            this.txtl2_p1.Location = new System.Drawing.Point(449, 258);
            this.txtl2_p1.MaxLength = 7;
            this.txtl2_p1.Name = "txtl2_p1";
            this.txtl2_p1.Size = new System.Drawing.Size(72, 21);
            this.txtl2_p1.TabIndex = 7;
            this.txtl2_p1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl2_p1.Validated += new System.EventHandler(this.txtl2_p1_Validated);
            this.txtl2_p1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl2_p1_KeyDown);
            // 
            // label46
            // 
            this.label46.AutoSize = true;
            this.label46.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label46.ForeColor = System.Drawing.Color.Navy;
            this.label46.Location = new System.Drawing.Point(409, 239);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(34, 13);
            this.label46.TabIndex = 228;
            this.label46.Text = "Chính";
            this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label48
            // 
            this.label48.BackColor = System.Drawing.Color.Transparent;
            this.label48.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label48.ForeColor = System.Drawing.Color.Navy;
            this.label48.Location = new System.Drawing.Point(343, 209);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(176, 16);
            this.label48.TabIndex = 230;
            this.label48.Text = "Ca mổ loại 2:";
            this.label48.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtl2_c
            // 
            this.txtl2_c.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl2_c.ForeColor = System.Drawing.Color.Navy;
            this.txtl2_c.Location = new System.Drawing.Point(449, 234);
            this.txtl2_c.MaxLength = 7;
            this.txtl2_c.Name = "txtl2_c";
            this.txtl2_c.Size = new System.Drawing.Size(72, 21);
            this.txtl2_c.TabIndex = 6;
            this.txtl2_c.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl2_c.Validated += new System.EventHandler(this.txtl2_c_Validated);
            this.txtl2_c.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl2_c_KeyDown);
            // 
            // label49
            // 
            this.label49.AutoSize = true;
            this.label49.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label49.ForeColor = System.Drawing.Color.Navy;
            this.label49.Location = new System.Drawing.Point(410, 263);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(34, 13);
            this.label49.TabIndex = 229;
            this.label49.Text = "Phụ 1";
            this.label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtl1_p2
            // 
            this.txtl1_p2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl1_p2.ForeColor = System.Drawing.Color.Navy;
            this.txtl1_p2.Location = new System.Drawing.Point(627, 187);
            this.txtl1_p2.MaxLength = 7;
            this.txtl1_p2.Name = "txtl1_p2";
            this.txtl1_p2.Size = new System.Drawing.Size(72, 21);
            this.txtl1_p2.TabIndex = 5;
            this.txtl1_p2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl1_p2.Validated += new System.EventHandler(this.txtl1_p2_Validated);
            this.txtl1_p2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl1_p2_KeyDown);
            // 
            // label36
            // 
            this.label36.AutoSize = true;
            this.label36.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label36.ForeColor = System.Drawing.Color.Navy;
            this.label36.Location = new System.Drawing.Point(587, 191);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(34, 13);
            this.label36.TabIndex = 224;
            this.label36.Text = "Phụ 2";
            this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtl1_p1
            // 
            this.txtl1_p1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl1_p1.ForeColor = System.Drawing.Color.Navy;
            this.txtl1_p1.Location = new System.Drawing.Point(627, 163);
            this.txtl1_p1.MaxLength = 7;
            this.txtl1_p1.Name = "txtl1_p1";
            this.txtl1_p1.Size = new System.Drawing.Size(72, 21);
            this.txtl1_p1.TabIndex = 4;
            this.txtl1_p1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl1_p1.Validated += new System.EventHandler(this.txtl1_p1_Validated);
            this.txtl1_p1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl1_p1_KeyDown);
            // 
            // label38
            // 
            this.label38.AutoSize = true;
            this.label38.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label38.ForeColor = System.Drawing.Color.Navy;
            this.label38.Location = new System.Drawing.Point(587, 144);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(34, 13);
            this.label38.TabIndex = 221;
            this.label38.Text = "Chính";
            this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label39
            // 
            this.label39.BackColor = System.Drawing.Color.Transparent;
            this.label39.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label39.ForeColor = System.Drawing.Color.Navy;
            this.label39.Location = new System.Drawing.Point(530, 114);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(176, 16);
            this.label39.TabIndex = 223;
            this.label39.Text = "Ca mổ loại 1:";
            this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtl1_c
            // 
            this.txtl1_c.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtl1_c.ForeColor = System.Drawing.Color.Navy;
            this.txtl1_c.Location = new System.Drawing.Point(627, 139);
            this.txtl1_c.MaxLength = 7;
            this.txtl1_c.Name = "txtl1_c";
            this.txtl1_c.Size = new System.Drawing.Size(72, 21);
            this.txtl1_c.TabIndex = 3;
            this.txtl1_c.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtl1_c.Validated += new System.EventHandler(this.txtl1_c_Validated);
            this.txtl1_c.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtl1_c_KeyDown);
            // 
            // label40
            // 
            this.label40.AutoSize = true;
            this.label40.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label40.ForeColor = System.Drawing.Color.Navy;
            this.label40.Location = new System.Drawing.Point(588, 168);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(34, 13);
            this.label40.TabIndex = 222;
            this.label40.Text = "Phụ 1";
            this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtdb_p2
            // 
            this.txtdb_p2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdb_p2.ForeColor = System.Drawing.Color.Navy;
            this.txtdb_p2.Location = new System.Drawing.Point(449, 190);
            this.txtdb_p2.MaxLength = 7;
            this.txtdb_p2.Name = "txtdb_p2";
            this.txtdb_p2.Size = new System.Drawing.Size(72, 21);
            this.txtdb_p2.TabIndex = 2;
            this.txtdb_p2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtdb_p2.Validated += new System.EventHandler(this.txtdb_p2_Validated);
            this.txtdb_p2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtdb_p2_KeyDown);
            // 
            // label31
            // 
            this.label31.AutoSize = true;
            this.label31.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label31.ForeColor = System.Drawing.Color.Navy;
            this.label31.Location = new System.Drawing.Point(409, 194);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(34, 13);
            this.label31.TabIndex = 217;
            this.label31.Text = "Phụ 2";
            this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtdb_p1
            // 
            this.txtdb_p1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdb_p1.ForeColor = System.Drawing.Color.Navy;
            this.txtdb_p1.Location = new System.Drawing.Point(449, 166);
            this.txtdb_p1.MaxLength = 7;
            this.txtdb_p1.Name = "txtdb_p1";
            this.txtdb_p1.Size = new System.Drawing.Size(72, 21);
            this.txtdb_p1.TabIndex = 1;
            this.txtdb_p1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtdb_p1.Validated += new System.EventHandler(this.txtdb_p1_Validated);
            this.txtdb_p1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtdb_p1_KeyDown);
            // 
            // label32
            // 
            this.label32.AutoSize = true;
            this.label32.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label32.ForeColor = System.Drawing.Color.Navy;
            this.label32.Location = new System.Drawing.Point(409, 147);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(34, 13);
            this.label32.TabIndex = 214;
            this.label32.Text = "Chính";
            this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label34
            // 
            this.label34.BackColor = System.Drawing.Color.Transparent;
            this.label34.Font = new System.Drawing.Font("Tahoma", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label34.ForeColor = System.Drawing.Color.Navy;
            this.label34.Location = new System.Drawing.Point(343, 117);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(176, 16);
            this.label34.TabIndex = 1;
            this.label34.Text = "Ca mổ đặc biệt:";
            this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtdb_c
            // 
            this.txtdb_c.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtdb_c.ForeColor = System.Drawing.Color.Navy;
            this.txtdb_c.Location = new System.Drawing.Point(449, 142);
            this.txtdb_c.MaxLength = 7;
            this.txtdb_c.Name = "txtdb_c";
            this.txtdb_c.Size = new System.Drawing.Size(72, 21);
            this.txtdb_c.TabIndex = 0;
            this.txtdb_c.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtdb_c.Validated += new System.EventHandler(this.txtdb_c_Validated);
            this.txtdb_c.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtdb_c_KeyDown);
            // 
            // label35
            // 
            this.label35.AutoSize = true;
            this.label35.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label35.ForeColor = System.Drawing.Color.Navy;
            this.label35.Location = new System.Drawing.Point(410, 171);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(34, 13);
            this.label35.TabIndex = 215;
            this.label35.Text = "Phụ 1";
            this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // toolStrip3
            // 
            this.toolStrip3.AutoSize = false;
            this.toolStrip3.BackColor = System.Drawing.Color.ForestGreen;
            this.toolStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripButton4,
            this.toolStripLabel3});
            this.toolStrip3.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
            this.toolStrip3.Location = new System.Drawing.Point(0, 0);
            this.toolStrip3.Name = "toolStrip3";
            this.toolStrip3.Size = new System.Drawing.Size(788, 36);
            this.toolStrip3.TabIndex = 223;
            this.toolStrip3.Text = "toolStrip3";
            // 
            // toolStripButton4
            // 
            this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(23, 33);
            this.toolStripButton4.Text = "Hướng dẫn";
            // 
            // toolStripLabel3
            // 
            this.toolStripLabel3.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold);
            this.toolStripLabel3.ForeColor = System.Drawing.Color.White;
            this.toolStripLabel3.Name = "toolStripLabel3";
            this.toolStripLabel3.Size = new System.Drawing.Size(185, 33);
            this.toolStripLabel3.Text = "KHAI BÁO HỆ SỐ ";
            // 
            // chkl_heso
            // 
            this.chkl_heso.FormattingEnabled = true;
            this.chkl_heso.Items.AddRange(new object[] {
            "HS lương",
            "HS chức vụ",
            "HS vượt khung",
            "HS khu vực",
            "HS trách nhiệm",
            "HS độc hại"});
            this.chkl_heso.Location = new System.Drawing.Point(332, 8);
            this.chkl_heso.MultiColumn = true;
            this.chkl_heso.Name = "chkl_heso";
            this.chkl_heso.Size = new System.Drawing.Size(235, 79);
            this.chkl_heso.TabIndex = 5;
            // 
            // label65
            // 
            this.label65.AutoSize = true;
            this.label65.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label65.ForeColor = System.Drawing.Color.DarkBlue;
            this.label65.Location = new System.Drawing.Point(9, 17);
            this.label65.Name = "label65";
            this.label65.Size = new System.Drawing.Size(89, 14);
            this.label65.TabIndex = 4;
            this.label65.Text = "Loại hợp đồng:";
            // 
            // cbo_loaihd
            // 
            this.cbo_loaihd.FormattingEnabled = true;
            this.cbo_loaihd.Location = new System.Drawing.Point(12, 40);
            this.cbo_loaihd.Name = "cbo_loaihd";
            this.cbo_loaihd.Size = new System.Drawing.Size(102, 21);
            this.cbo_loaihd.TabIndex = 3;
            // 
            // frmcnheso
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.ClientSize = new System.Drawing.Size(788, 569);
            this.ControlBox = false;
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.toolStrip3);
            this.Controls.Add(this.txtdb_c);
            this.Controls.Add(this.label35);
            this.Controls.Add(this.label34);
            this.Controls.Add(this.label32);
            this.Controls.Add(this.txtdb_p1);
            this.Controls.Add(this.label31);
            this.Controls.Add(this.txtdb_p2);
            this.Controls.Add(this.label40);
            this.Controls.Add(this.txtl1_c);
            this.Controls.Add(this.label39);
            this.Controls.Add(this.label38);
            this.Controls.Add(this.txtl1_p1);
            this.Controls.Add(this.label36);
            this.Controls.Add(this.txtl1_p2);
            this.Controls.Add(this.label49);
            this.Controls.Add(this.txtl2_c);
            this.Controls.Add(this.txtl3_p2);
            this.Controls.Add(this.label48);
            this.Controls.Add(this.label41);
            this.Controls.Add(this.label46);
            this.Controls.Add(this.txtl3_p1);
            this.Controls.Add(this.txtl2_p1);
            this.Controls.Add(this.label42);
            this.Controls.Add(this.label45);
            this.Controls.Add(this.label43);
            this.Controls.Add(this.txtl2_p2);
            this.Controls.Add(this.txtl3_c);
            this.Controls.Add(this.label44);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmcnheso";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Bảng cập nhật các hệ số";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.frmcnheso_Load);
            ((System.ComponentModel.ISupportInitialize)(this.InputError)).EndInit();
            this.tabControl1.ResumeLayout(false);
            this.tabc.ResumeLayout(false);
            this.tabc.PerformLayout();
            this.tabpc.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.tabpt.ResumeLayout(false);
            this.tabpt.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.panel4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.gpBPTTT.ResumeLayout(false);
            this.tabbh.ResumeLayout(false);
            this.gr_tylettn.ResumeLayout(false);
            this.gr_tylettn.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgrv_tylettn)).EndInit();
            this.gr_hsbh.ResumeLayout(false);
            this.groupBox4.ResumeLayout(false);
            this.toolStrip3.ResumeLayout(false);
            this.toolStrip3.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        #endregion

        private void frmcnheso_Load(object sender, EventArgs e)
        {
            user = mDB.user;
            string sql = "";
            int m_thang = 0, m_nam = 0, p_thang = 0, p_nam = 0;
            m_thang = int.Parse(thang);
            m_nam = int.Parse(nam);
            switch (m_thang)
            {
                case 1:
                    p_thang = 12;
                    p_nam = m_nam - 1;
                    break;
                default:
                    p_thang = m_thang - 1;
                    p_nam = m_nam;
                    break;
            }
            s_mmyy = thang.ToString().PadLeft(2, '0') + nam.ToString().Substring(2, 2);
            p_mmyy = p_thang.ToString().PadLeft(2, '0') + p_nam.ToString().Substring(2, 2);            
            load_data(s_mmyy);
            if (tabControl1.SelectedTab == tabc)
            {
                enac_ctrl(false);
                btnc_luu.Enabled = false;
                btnc_boqua.Enabled = false;
                load_tabc();
                load_thongso();
            }
            if (tabControl1.SelectedTab == tabpc)
            {
                uenapc_ctrl(false);
                load_tabpc();
            }
            if (tabControl1.SelectedTab == tabpt)
            {
                loadcbolaoipttt();
                enapt_ctrl(false);
                enapt_btn(true);
                load_gridpt("", "");
            }
            if (tabControl1.SelectedTab == tabbh)
            {
                load_loaihd();
                load_hesobh("", "");
                load_dgrv_tylettn();
                btn_tbhsua.Enabled = true;
                btn_tbhboqua.Enabled = false;
                gr_hsbh.Enabled = false;
                gr_tylettn.Enabled = false;
            }
            chk_khoadl.Checked = mDB.khoa_dulieu(s_mmyy);
            if (chk_khoadl.Checked) chk_khoadl.ForeColor = System.Drawing.Color.Red;
            uenac_ctrl(false);
            uenapc_ctrl(false);
        }
        private void tabControl1_Click(object sender, EventArgs e)
        {
            if (tabControl1.SelectedTab == tabc)
            {
                load_tabc();
                load_thongso();
            }
            if (tabControl1.SelectedTab == tabpc)
            {
                uenapc_ctrl(false);
                load_tabpc();
            }
            if (tabControl1.SelectedTab == tabpt)
            {
                loadcbolaoipttt();
                enapt_ctrl(false);
                enapt_btn(true);
                load_gridpt("","");
            }
            if (tabControl1.SelectedTab == tabbh)
            {
                load_loaihd();
                load_hesobh("","");
                load_dgrv_tylettn();
                btn_tbhsua.Enabled = true;
                btn_tbhboqua.Enabled = false;
                gr_hsbh.Enabled = false;
                gr_tylettn.Enabled = false;
            }
        }
        public void FormLoad()
        {
            sql = " select  macv , diengiai ,abc_1,abc_2 ,diem_1 ,diem_2 from " + user + ".dmabc where mmyy='" + s_mmyy + "'";
            if (mDB.get_data(sql).Tables[0].Rows.Count == 0)
            {
                sql = " insert into " + user + ".dmabc ";
                sql += " select  macv ,'" + s_mmyy + "' as mmyy, diengiai ,abc_1,abc_2 ,diem_1 ,diem_2 from " + user + ".dmabc where mmyy='" + p_mmyy + "'";
                mDB.Execute_data(sql);
            }
            //
            DataTable dt_dmcv = new DataTable();
            dt_dmcv = mDB.get_data("select * from " + user + ".dmcv order by macv").Tables[0];
            foreach (DataRow r_r in dt_dmcv.Rows)
            {
                sql = "select * from " + user + ".dmabc where mmyy='" + s_mmyy + "' and macv='" + r_r["macv"].ToString() + "'";
                if (mDB.get_data(sql).Tables[0].Rows.Count == 0)
                {
                    sql = " insert into " + user + ".dmabc ";
                    sql += " select  macv ,'" + s_mmyy + "' as mmyy, diengiai ,0 as abc_1, 0 as abc_2 ,0 as diem_1 ,0 as diem_2 from " + user + ".dmcv where macv='" + r_r["macv"].ToString() + "'";
                    mDB.Execute_data(sql);
                }
            }
            load_gridpt(gpBPTTT.Tag.ToString(), "");
        }
        private void load_data(string mmyy)
        {
            ds_hs = mDB.get_heso(mmyy);
        }
        #region tab_chinh
        private void enac_ctrl(bool ena)
        {
            cbo_matt.Enabled = ena;
            cbo_maqu.Enabled = ena;
            txt_soyte.Enabled = ena;
            cbo_benhvien.Enabled = ena;
            txt_xephang.Enabled = ena;
            txt_diachi.Enabled = ena;
            txt_noimtk.Enabled = ena;
            txt_sodkt.Enabled = ena;
            txt_sohieutkvn.Enabled = ena;
            txt_msthue.Enabled = ena;
            txt_website.Enabled = ena;
            txt_dienthoai.Enabled = ena;
            txt_fax.Enabled = ena;
            txt_giamdoc.Enabled = ena;
            txt_giamdoccty.Enabled = ena;
            txt_tptochuc.Enabled = ena;
            txt_kttruong.Enabled = ena;
            txt_mltt.Enabled = ena;
            chk_ATM.Enabled = ena;
            chk_dgkqcc.Enabled = ena;
            chk_nhapmacc.Enabled = ena;
            chk_ngachdn.Enabled = ena;
            chk_phepthem1.Enabled = ena;
            chk_phepthem2.Enabled = ena;
            txt_thangtaodlp.Enabled = ena;
            txt_tnthcc.Enabled = ena;
            txt_dnthcc.Enabled = ena;
            chk_Vantay.Enabled = ena;
            if (chk_Vantay.Checked)
            {
                txt_lanccvt.Enabled = ena;
                chk_sdtgsomtre.Enabled =ena;
                chk_sd_ccngayt7.Enabled = ena;
                dtp_gioccchieu.Enabled = false;
            }
            else
            {
                txt_lanccvt.Text = "0";
                txt_lanccvt.Enabled = false;
                chk_sdtgsomtre.Enabled = false;
                chk_sd_ccngayt7.Enabled = false;
                chk_cctructc.Enabled = true;
                chk_cccuoituan.Enabled = true;
                chk_ccthuongquy.Enabled = true;
                dtp_gioccchieu.Enabled = true;
            }
            chk_luonghd.Enabled = ena;
            chk_luongsp.Enabled = ena;
            chk_hdbantg.Enabled = ena;
            chk_cccuoituan.Enabled = ena;
            chk_ccngaycn.Enabled = ena;
            chk_cctructc.Enabled = ena;
            chk_ccthuongquy.Enabled = ena;
            dtp_gioccchieu.Enabled = ena;
            chk_khoadl.Enabled = ena;
            chk_thcctudong.Enabled = ena;
            chk_cctc_taikhoatc.Enabled = ena;
            txt_lanccvt.Enabled = ena;
            chk_hsvk1.Enabled = ena;
            chk_hscv1.Enabled = ena;
            chk_hsdh1.Enabled = ena;
            chk_pcdt1.Enabled = ena;
            chk_hsth1.Enabled = ena;
            chk_hstn1.Enabled = ena;
            chk_hskv1.Enabled = ena;
            chk_hsud1.Enabled = ena;
            chk_hsld1.Enabled = ena;
            chk_hsdb1.Enabled = ena;
            chk_pcta1.Enabled = ena;
            chk_pctx1.Enabled = ena;
            chk_pctdt1.Enabled = ena;
            chk_pckh1.Enabled = ena;
        }

        public void loadquan(string matinh)
        {
            cbo_maqu.DisplayMember = "tenquan";
            cbo_maqu.ValueMember = "maqu";
            cbo_maqu.DataSource = mDB.get_data("select * from " + user + ".btdquan where matt='" + matinh + "'").Tables[0];
        }
        private void cbo_matt_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                cbo_benhvien.DataSource = mDB.get_data("select * from " + user + ".benhvien where substr(mabv,1,3)='" + cbo_matt.SelectedValue.ToString() + "'" + " order by mabv").Tables[0];
                loadquan(cbo_matt.SelectedValue.ToString());
                if (mDB.Mabv != "") cbo_benhvien.SelectedValue = mDB.Mabv;
            }
            catch (Exception ex)
            {
                string s = ex.Message;
            };
        }
        private void load_thongso()
        {            
            foreach (DataRow r in mDB.get_data("select * from nhansu.thongso order by id").Tables[0].Rows)
            {
                try
                {
                    switch (int.Parse(r["id"].ToString()))
                    {

                        case 23:
                            cbo_matt.SelectedValue = r["ten"].ToString().Trim();
                            break;
                        case 4: txt_soyte.Text = r["ten"].ToString().Trim();
                            break;
                        case 5: txt_diachi.Text = r["ten"].ToString().Trim();
                            break;
                        case 6: txt_dienthoai.Text = r["ten"].ToString().Trim();
                            break;

                        case 9: cbo_maqu.SelectedValue = r["ten"].ToString().Trim();
                            break;
                        case 2:
                            cbo_benhvien.SelectedValue = r["ten"].ToString().Trim();
                            break;
                        case 3:
                            cbo_benhvien.Text = r["ten"].ToString().Trim();
                            break;
                        case 20:
                            txt_noimtk.Text = r["ten"].ToString().Trim();
                            break;
                        case 12:
                            txt_mltt.Text = r["ten"].ToString().Trim();
                            break;
                        case 21:
                            txt_sodkt.Text = r["ten"].ToString();
                            break;
                        case 22:
                            txt_sohieutkvn.Text = r["ten"].ToString().Trim();
                            break;
                        case 24:
                            txt_msthue.Text = r["ten"].ToString().Trim();
                            break;
                        case 16:
                            chk_dgkqcc.Checked = r["ten"].ToString().Trim() == "1";
                            break;
                        case 13:
                            chk_ATM.Checked = r["ten"].ToString().Trim() == "1";
                            break;
                        case 18:
                            txt_xephang.Text = r["ten"].ToString();
                            break;
                        case 19:
                            txt_giamdoccty.Text = r["ten"].ToString();
                            break;
                        case 14:
                            txt_giamdoc.Text = r["ten"].ToString();
                            break;
                        case 26:
                            txt_website.Text = r["ten"].ToString();
                            break;
                        case 28:
                            txt_fax.Text = r["ten"].ToString();
                            break;
                        case 29:
                            txt_tptochuc.Text = r["ten"].ToString();
                            break;
                        case 30:
                            txt_kttruong.Text = r["ten"].ToString().Trim();
                            break;
                        case 32:
                            chk_nhapmacc.Checked = r["ten"].ToString().Trim() == "1";
                            break;
                    }
                }
                catch { }
            }
        }
        private void luu_thongso()
        {
            try
            {
                ds_ts.Clear();
                ds_ts.ReadXml("..\\xml\\maincode.xml");
                ds_ts.Tables[0].Rows[0]["Mabv"] = cbo_benhvien.SelectedValue.ToString();
                ds_ts.Tables[0].Rows[0]["Tenbv"] = cbo_benhvien.Text;
                ds_ts.Tables[0].Rows[0]["Syte"] = txt_soyte.Text;
                ds_ts.Tables[0].Rows[0]["Diachi"] = txt_diachi.Text;
                ds_ts.Tables[0].Rows[0]["Dienthoai"] = txt_dienthoai.Text;
                ds_ts.WriteXml("..\\xml\\maincode.xml");
                if (cbo_matt.SelectedIndex != -1)
                    mDB.upd_thongso(2,cbo_benhvien.SelectedValue.ToString());
                if (cbo_benhvien.SelectedIndex != -1)
                    mDB.upd_thongso(3, cbo_benhvien.Text.ToString());
                mDB.upd_thongso(4, txt_soyte.Text);
                mDB.upd_thongso(5, txt_diachi.Text);
                mDB.upd_thongso(6, txt_dienthoai.Text);

                if (cbo_maqu.SelectedIndex != -1)
                    mDB.upd_thongso(9, cbo_maqu.SelectedValue.ToString());
                mDB.upd_thongso(12, txt_mltt.Text);
                mDB.upd_thongso(13, (chk_ATM.Checked) ? "1" : "0");
                mDB.upd_thongso(14, txt_giamdoc.Text);
                mDB.upd_thongso(16, (chk_dgkqcc.Checked) ? "1" : "0");
                mDB.upd_thongso(18, txt_xephang.Text);
                mDB.upd_thongso(19, txt_giamdoccty.Text);
                mDB.upd_thongso(26, txt_website.Text);
                mDB.upd_thongso(28, txt_fax.Text);
                mDB.upd_thongso(29, txt_tptochuc.Text);
                mDB.upd_thongso(30, txt_kttruong.Text);
                mDB.upd_thongso(32, (chk_nhapmacc.Checked) ? "1" : "0");
                mDB.upd_thongso(20, txt_noimtk.Text);
                mDB.upd_thongso(21, txt_sodkt.Text);
                mDB.upd_thongso(22, txt_sohieutkvn.Text);
                mDB.upd_thongso(24, txt_msthue.Text);
                mDB.upd_thongso(23, cbo_matt.SelectedValue.ToString());
                mDB.upd_thongso(0, "1");
            }
            catch { };

        }
        private void load_tabc()
        {
            cbo_matt.DataSource = mDB.get_tinhthanh().Tables[0];
            cbo_matt.DisplayMember = "tentt";
            cbo_matt.ValueMember = "matt";
            cbo_matt.SelectedIndex = 0;
            loadquan(cbo_matt.SelectedValue.ToString());

            cbo_benhvien.DataSource = mDB.get_benhvien().Tables[0];
            cbo_benhvien.DisplayMember = "tenbv";
            cbo_benhvien.ValueMember = "mabv";
            cbo_benhvien.SelectedIndex = -1;
            if (mDB.Mabv != "")
            {
                cbo_benhvien.SelectedValue = mDB.Matt().ToString();
            }
            cbo_maqu.SelectedValue = mDB.Maqu().ToString();
            cbo_benhvien.SelectedValue = mDB.Mabv.ToString();
            cbo_benhvien.DisplayMember = "tenbv";
            cbo_benhvien.ValueMember = "mabv";
            cbo_benhvien.DataSource = mDB.get_benhvien().Tables[0];
            foreach (DataRow dr in ds_hs.Tables[0].Rows)
            {
                decimal pc_tienan = 0;

                txt_lanccvt.Text = dr["lanccvt"].ToString().Trim();
                pc_tienan = dr["pc_tienan"].ToString() == "" ? 0 : decimal.Parse(dr["pc_tienan"].ToString().Trim());
                txt_pctienan.Text = pc_tienan.ToString("###,###,###");
                dtp_gioccchieu.Text = dr["gbd_ccchieu"].ToString().Trim().Equals("") ? dtp_gioccchieu.Text = DateTime.Now.Date.ToString("HH:mm") : dtp_gioccchieu.Text = dr["gbd_ccchieu"].ToString().Trim();
                chk_cccuoituan.Checked = dr["cccuoituan"].ToString().Trim().Equals("1") ? true : false;
                chk_ccngaycn.Checked = dr["cc_ngaycn"].ToString().Trim().Equals("1") ? true : false;
                chk_ccthuongquy.Checked = dr["ccthuongquy"].ToString().Trim().Equals("1") ? true : false;
                chk_cctructc.Checked = dr["cctructc"].ToString().Trim().Equals("1") ? true : false;
                chk_khoadl.Checked = dr["khoadl"].ToString().Trim().Equals("1") ? true : false;
                if (chk_khoadl.Checked)
                {
                    chk_khoadl.ForeColor = Color.DarkRed;
                } 
                chk_thcctudong.Checked = dr["thcctudong"].ToString().Trim().Equals("1") ? true : false;
                chk_Vantay.Checked = dr["vantay"].ToString().Trim().Equals("1") ? true : false;                
                chk_sdtgsomtre.Checked = dr["sd_tgsomtre"].ToString().Trim().Equals("1") ? true : false;
                chk_cctc_taikhoatc.Checked = dr["cctc_taikhoa"].ToString().Trim().Equals("1") ? true : false;
                chk_sd_ccngayt7.Checked = dr["sd_ccngayt7"].ToString().Trim().Equals("1") ? true : false;
                string str = dr["tn_thcc"].ToString().Trim();
                if (dr["tn_thcc"].ToString().Trim() != "1" && dr["tn_thcc"].ToString().Trim() != "0")
                {
                    txt_tnthcc.Text = dr["tn_thcc"].ToString().Trim();
                    txt_dnthcc.Text = dr["dn_thcc"].ToString().Trim();
                }
                else
                {
                    txt_tnthcc.Text = "1";
                    txt_dnthcc.Text = mDB.get_ngaytrongthang(thang, nam);
                }
                chk_ngachdn.Checked = dr["ngachdn"].ToString().Trim().Equals("1") ? true : false;
                chk_luonghd.Checked = dr["luonghd"].ToString().Trim().Equals("1") ? true : false;
                chk_luongsp.Checked = dr["luong_sp"].ToString().Trim().Equals("1") ? true : false;
                chk_hdbantg.Checked = dr["hd_bantg"].ToString().Trim().Equals("1") ? true : false;
                //
                chk_hsvk1.Checked = dr["h_hsvk"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsvk2.Checked = dr["h_hsvk"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsvk3.Checked = dr["h_hsvk"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hscv1.Checked = dr["h_hscv"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hscv2.Checked = dr["h_hscv"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hscv3.Checked = dr["h_hscv"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hsdb1.Checked = dr["h_hsdb"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsdb2.Checked = dr["h_hsdb"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsdb3.Checked = dr["h_hsdt"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_pcdt1.Checked = dr["h_hsdt"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_pcdt2.Checked = dr["h_hsdt"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_pcdt3.Checked = dr["h_hsdb"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hsdh1.Checked = dr["h_hsdh"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsdh2.Checked = dr["h_hsdh"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsdh3.Checked = dr["h_hsdh"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hskv1.Checked = dr["h_hskv"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hskv2.Checked = dr["h_hskv"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hskv3.Checked = dr["h_hskv"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hsld1.Checked = dr["h_hsld"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsld2.Checked = dr["h_hsld"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsld3.Checked = dr["h_hsld"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hsth1.Checked = dr["h_hsth"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsth2.Checked = dr["h_hsth"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsth3.Checked = dr["h_hsth"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hstn1.Checked = dr["h_hstn"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hstn2.Checked = dr["h_hstn"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hstn3.Checked = dr["h_hstn"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_hsud1.Checked = dr["h_hsud"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_hsud2.Checked = dr["h_hsud"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_hsud3.Checked = dr["h_hsud"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_pckh1.Checked = dr["h_hskh"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_pckh2.Checked = dr["h_hskh"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_pckh3.Checked = dr["h_hskh"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_pcta1.Checked = dr["h_hsta"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_pcta2.Checked = dr["h_hsta"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_pcta3.Checked = dr["h_hsta"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_pctx1.Checked = dr["h_hstx"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_pctx2.Checked = dr["h_hstx"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_pctx3.Checked = dr["h_hstx"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_pctdt1.Checked = dr["h_hstdt"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_pctdt2.Checked = dr["h_hstdt"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_pctdt3.Checked = dr["h_hstdt"].ToString().Substring(2, 1).Trim().Equals("1") ? true : false;
                chk_phepthem1.Checked = dr["h_phepthem"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_phepthem2.Checked = dr["h_phepthem"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
            }
            enac_ctrl(false);
        }
        private void btnc_luu_Click(object sender, EventArgs e)
        {
            string gbd_ccchieu = "",hs_vk="", hs_cv = "", hs_db = "",hs_dt="", hs_dh = "", hs_kv = "", hs_ld = "", hs_th = "", hs_tn = "", hs_ud = "", hs_kh = "",hs_tdt="", hs_ta = "", hs_tx = "", hs_phepthem = "";
            int cccuoituan = 0, ccthuongquy = 0, cctructc = 0, khoadl = 0, thcctudong = 0, vantay = 0, ngachdn = 0
                , lanccvt = 0, luonghd = 0,hd_bantg=0,luong_sp=0,sd_tgsomtre=0,cctc_taikhoa=0,sd_ccngayt7=0,cc_ngaycn=0,tn_thcc=0,dn_thcc=0;
            decimal pc_tienan = 0,pc_tacatruc=0;
            gbd_ccchieu = dtp_gioccchieu.Text.Trim();
            cccuoituan = chk_cccuoituan.Checked ? 1 : 0;
            ccthuongquy = chk_ccthuongquy.Checked ? 1 : 0;
            cctructc = chk_cctructc.Checked ? 1 : 0;
            sd_tgsomtre = chk_sdtgsomtre.Checked ? 1 : 0;
            cctc_taikhoa = chk_cctc_taikhoatc.Checked ? 1 : 0;
            tn_thcc = txt_tnthcc.Text.Trim() != "" ? Int32.Parse(txt_tnthcc.Text.Trim()) : 0;
            dn_thcc = txt_dnthcc.Text.Trim() != "" ? Int32.Parse(txt_dnthcc.Text.Trim()) : 0;
            sd_ccngayt7 = chk_sd_ccngayt7.Checked ? 1 : 0;
            khoadl = chk_khoadl.Checked ? 1 : 0;
            cc_ngaycn = chk_ccngaycn.Checked ? 1 : 0;
            thcctudong = chk_thcctudong.Checked ? 1 : 0;
            vantay = chk_Vantay.Checked ? 1 : 0;
            ngachdn = chk_ngachdn.Checked ? 1 : 0;
            luonghd = chk_luonghd.Checked ? 1 : 0;
            hd_bantg = chk_hdbantg.Checked ? 1 : 0;
            luong_sp = chk_luongsp.Checked ? 1 : 0;
            lanccvt = txt_lanccvt.Text.Trim() != "" ? int.Parse(txt_lanccvt.Text.Trim()) : 0;
            pc_tienan = txt_pctienan.Text.Trim() != "" ? decimal.Parse(txt_pctienan.Text.Trim()) : 0;
            pc_tacatruc = txt_tacatruc.Text.Trim() != "" ? decimal.Parse(txt_tacatruc.Text.Trim()) : 0;
            //
            hs_vk = chk_hsvk1.Checked ? "1" : "0";
            hs_vk += chk_hsvk2.Checked ? "1" : "0";
            hs_vk += chk_hsvk3.Checked ? "1" : "0";
            hs_cv = chk_hscv1.Checked ? "1" : "0";
            hs_cv += chk_hscv2.Checked ? "1" : "0";
            hs_cv += chk_hscv3.Checked ? "1" : "0";
            hs_db = chk_hsdb1.Checked ? "1" : "0";
            hs_db += chk_hsdb2.Checked ? "1" : "0";
            hs_db += chk_hsdb3.Checked ? "1" : "0";
            hs_dt = chk_pcdt1.Checked ? "1" : "0";
            hs_dt += chk_pcdt2.Checked ? "1" : "0";
            hs_dt += chk_pcdt3.Checked ? "1" : "0";
            hs_dh = chk_hsdh1.Checked ? "1" : "0";
            hs_dh += chk_hsdh2.Checked ? "1" : "0";
            hs_dh += chk_hsdh3.Checked ? "1" : "0";
            hs_kv = chk_hskv1.Checked ? "1" : "0";
            hs_kv += chk_hskv2.Checked ? "1" : "0";
            hs_kv += chk_hskv3.Checked ? "1" : "0";
            hs_th = chk_hsth1.Checked ? "1" : "0";
            hs_th += chk_hsth2.Checked ? "1" : "0";
            hs_th += chk_hsth3.Checked ? "1" : "0";
            hs_ld = chk_hsld1.Checked ? "1" : "0";
            hs_ld += chk_hsld2.Checked ? "1" : "0";
            hs_ld += chk_hsld3.Checked ? "1" : "0";
            hs_tn = chk_hstn1.Checked ? "1" : "0";
            hs_tn += chk_hstn2.Checked ? "1" : "0";
            hs_tn += chk_hstn3.Checked ? "1" : "0";
            hs_ud = chk_hsud1.Checked ? "1" : "0";
            hs_ud += chk_hsud2.Checked ? "1" : "0";
            hs_ud += chk_hsud3.Checked ? "1" : "0";
            hs_kh = chk_pckh1.Checked ? "1" : "0";
            hs_kh += chk_pckh2.Checked ? "1" : "0";
            hs_kh += chk_pckh3.Checked ? "1" : "0";
            hs_ta = chk_pcta1.Checked ? "1" : "0";
            hs_ta += chk_pcta2.Checked ? "1" : "0";
            hs_ta += chk_pcta3.Checked ? "1" : "0";
            hs_tx = chk_pctx1.Checked ? "1" : "0";
            hs_tx += chk_pctx2.Checked ? "1" : "0";
            hs_tx += chk_pctx3.Checked ? "1" : "0";
            hs_tdt = chk_pctdt1.Checked ? "1" : "0";
            hs_tdt += chk_pctdt2.Checked ? "1" : "0";
            hs_tdt += chk_pctdt3.Checked ? "1" : "0";
            hs_phepthem = chk_phepthem1.Checked ? "1" : "0";
            hs_phepthem += chk_phepthem2.Checked ? "1" : "0";

            mDB.upd_hesoc(s_mmyy, gbd_ccchieu, cccuoituan,cc_ngaycn, ccthuongquy, cctructc, khoadl, thcctudong,sd_tgsomtre,cctc_taikhoa,tn_thcc,dn_thcc,sd_ccngayt7, vantay
                , ngachdn, lanccvt, luonghd,hd_bantg,luong_sp, pc_tienan,pc_tacatruc,hs_vk, hs_cv, hs_db,hs_dt, hs_dh, hs_kv, hs_ld, hs_th, hs_tn, hs_ud, hs_kh, hs_ta, hs_tx,hs_tdt, hs_phepthem);

            luu_thongso();
            load_data(s_mmyy);
            load_tabc();
            load_thongso();
            enac_ctrl(false);
            uenac_ctrl(false);
            btnc_luu.Enabled = false;
            btnc_boqua.Enabled = false;
            btnc_sua.Enabled = true;
        }
        private void uenac_ctrl(bool ena)
        {
            chk_hsvk2.Enabled = ena;
            chk_hsvk3.Enabled = ena;
            chk_hscv2.Enabled = ena;
            chk_hscv3.Enabled = ena;
            chk_hsdh2.Enabled = ena;
            chk_hsdh3.Enabled = ena;
            chk_pcdt2.Enabled = ena;
            chk_pcdt3.Enabled = ena;
            chk_hsth2.Enabled = ena;
            chk_hsth3.Enabled = ena;
            chk_hstn2.Enabled = ena;
            chk_hstn3.Enabled = ena;
            chk_hskv2.Enabled = ena;
            chk_hskv3.Enabled = ena;
            chk_hsud2.Enabled = ena;
            chk_hsud3.Enabled = ena;
            chk_hsld2.Enabled = ena;
            chk_hsld3.Enabled = ena;
            chk_hsdb2.Enabled = ena;
            chk_hsdb3.Enabled = ena;
            chk_pcta2.Enabled = ena;
            chk_pcta3.Enabled = ena;
            chk_pctx2.Enabled = ena;
            chk_pctx3.Enabled = ena;
            chk_pctdt2.Enabled = ena;
            chk_pctdt3.Enabled = ena;
            chk_pckh2.Enabled = ena;
            chk_pckh3.Enabled = ena;
            txt_pctienan.Enabled = ena;
            txt_tacatruc.Enabled = ena;
        }
        private void btnc_sua_Click(object sender, EventArgs e)
        {
            enac_ctrl(true);
            btnc_luu.Enabled = true;
            btnc_boqua.Enabled = true;
            btnc_sua.Enabled = false;
            frmLogin f = new frmLogin();
            if (admin == true)
            {
                chk_khoadl.Enabled = true;
            }
            else
                chk_khoadl.Enabled = false;

        }

        private void btnc_boqua_Click(object sender, EventArgs e)
        {
            enac_ctrl(false);
            uenac_ctrl(false);
            btnc_luu.Enabled = false;
            btnc_boqua.Enabled = false;
            btnc_sua.Enabled = true;
        }
        private void btnc_thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        private void get_thangtruoc()
        {
            int t_ht = 0, n_ht = 0, t_tr = 0, n_tr = 0;
            t_ht = int.Parse(thang);
            n_ht = int.Parse(nam);
            if (t_ht == 1)
            {
                t_tr = 12;
                n_tr = n_ht - 1;
            }
            else
            {
                t_tr = t_ht - 1;
                n_tr = n_ht;
            }
            thang_1 = t_tr.ToString().PadLeft(2, '0');
            nam_1 = n_tr.ToString();
        }
        private void buttonclose_Click(object sender, System.EventArgs e)
        {
            this.Close();
        }
        #endregion
        #region tab_phucap
        private void enapc_ctrl(bool ena)
        {
            txtpc_mltt.Enabled = ena;
            txtpc_hstkiem.Enabled = ena;
            txtpc_mlphucap.Enabled = ena;
            txtpc_kpcd.Enabled = ena;
            txtpc_snlvthucte.Enabled = ena;
            txtpc_ngaylvqd.Enabled = ena;
            txtpc_bhtn.Enabled = ena;
            txtpc_bhxh.Enabled = ena;
            txtpc_bhyt.Enabled = ena;
            txtpc_sbhtn.Enabled = ena;
            txtpc_sbhxh.Enabled = ena;
            txtpc_sbhyt.Enabled = ena;

            txtpc_hs1.Enabled = ena;
            txtpc_hs2.Enabled = ena;
            txtpc_hs3.Enabled = ena;
            txtpc_hs4.Enabled = ena;
            txtpc_ttthuong.Enabled = ena;
            txtpc_ttcn.Enabled = ena;
            txtpc_ttle.Enabled = ena;
            txtpc_hsthuong.Enabled = ena;
            txtpc_hscn.Enabled = ena;
            txtpc_hsle.Enabled = ena;
            txtpc_ngnthuong.Enabled = ena;
            txtpc_ngnchunhat.Enabled = ena;
            txtpc_ngnle.Enabled = ena;
            txtpc_ngdthuong.Enabled = ena;
            txtpc_ngdchunhat.Enabled = ena;
            txtpc_ngdle.Enabled = ena;
            txtpc_luongtv.Enabled = ena;
            txtpc_luongdh.Enabled = ena;
            txtpc_hsom.Enabled = ena;
            //
            chk_abc_sdst.Enabled = ena;
            if (chk_abc_sdst.Checked)
            {
                txt_stpc_abc.Enabled = ena;
                lbl_stabc.Enabled = ena;
                chk_abcst.Checked = false;
                chk_abcst.Enabled = false;

                chk_abchs.Checked = false;
                chk_abchs.Enabled = false;
            }
            else
            {
                txt_stpc_abc.Enabled = ena;
                lbl_stabc.Enabled = ena;
                chk_abcst.Enabled = ena;

                chk_abchs.Enabled = ena;
            }
           // chk_abchs.Enabled = ena;
            chk_tths.Enabled = ena;
            chk_ttst.Enabled = ena;
            chk_nghs.Enabled = ena;
            chk_ngst.Enabled = ena;
            //
            if (chk_cctructc.Checked)
            {
                chk_tchs.Enabled = ena;
                chk_tcst.Enabled = ena;
                txt_pctc_thuong.Enabled = ena;
                txt_pctc_lt.Enabled = ena;
                txt_pctc_cn.Enabled = ena;
                txt_pctc_hsthuong.Enabled = ena;
                txt_pctc_hscn.Enabled = ena;
                txt_pctc_hslt.Enabled = ena;
            }
            else
            {
                chk_tchs.Checked = false;
                chk_tcst.Checked = false;
                txt_pctc_thuong.Text = "0";
                txt_pctc_lt.Text = "0";
                txt_pctc_cn.Text = "0";
                txt_pctc_hsthuong.Text = "0";
                txt_pctc_hscn.Text = "0";
                txt_pctc_hslt.Text ="0";
                chk_tchs.Enabled = false;
                chk_tcst.Enabled = false;
                txt_pctc_thuong.Enabled = false;
                txt_pctc_lt.Enabled = false;
                txt_pctc_cn.Enabled = false;
                txt_pctc_hsthuong.Enabled = false;
                txt_pctc_hscn.Enabled = false;
                txt_pctc_hslt.Enabled = false;
            }
            if (chk_ccthuongquy.Checked)
            {
                chk_tqhs.Enabled = ena;
                chk_tqst.Enabled = ena;
                txt_pctq_lt.Enabled = ena;
                txt_pctq_cn.Enabled = ena;
                txt_pctq_nt.Enabled = ena;
            }
            else
            {
                chk_tqhs.Checked = false;
                chk_tqst.Checked = false;
                txt_pctq_lt.Text = "0";
                txt_pctq_cn.Text = "0";
                txt_pctq_nt.Text = "0";
                chk_tqhs.Enabled = false;
                chk_tqst.Enabled = false;
                txt_pctq_lt.Enabled = false;
                txt_pctq_cn.Enabled = false;
                txt_pctq_nt.Enabled = false;
            } 
            if (chk_nghs.Checked)
            {
                chk_ngst.Checked = false;
                chk_ngst.Enabled = false;
                lbl_ngnt.Visible = true;
                lbl_ngcn.Visible = true;
                lbl_nglt.Visible = true;
                lbl_ngdt.Visible = true;
                lbl_ngdcn.Visible = true;
                lbl_ngdlt.Visible = true;
                lbl_ngnt.Enabled = ena;
                lbl_ngcn.Enabled = ena;
                lbl_nglt.Enabled = ena;
                lbl_ngdt.Enabled = ena;
                lbl_ngdcn.Enabled = ena;
                lbl_ngdlt.Enabled = ena;
            }
            else
            {
                chk_ngst.Checked = true;
                chk_ngst.Enabled = ena;
                lbl_ngnt.Visible = false;
                lbl_ngcn.Visible = false;
                lbl_nglt.Visible = false;
                lbl_ngdt.Visible = false;
                lbl_ngdcn.Visible = false;
                lbl_ngdlt.Visible = false;
            }
            if (chk_ngst.Checked)
            {
                chk_nghs.Checked = false;
                chk_nghs.Enabled = false;
                lbl_ngnt.Visible = false;
                lbl_ngcn.Visible = false;
                lbl_nglt.Visible = false;
                lbl_ngdt.Visible = false;
                lbl_ngdcn.Visible = false;
                lbl_ngdlt.Visible = false;
                
            }
            else
            {
                chk_nghs.Checked = true;
                chk_nghs.Enabled = ena;
                lbl_ngnt.Visible = true;
                lbl_ngcn.Visible = true;
                lbl_nglt.Visible = true;
                lbl_ngdt.Visible = true;
                lbl_ngdcn.Visible = true;
                lbl_ngdlt.Visible = true;
                lbl_ngnt.Enabled = ena;
                lbl_ngcn.Enabled = ena;
                lbl_nglt.Enabled = ena;
                lbl_ngdt.Enabled = ena;
                lbl_ngdcn.Enabled = ena;
                lbl_ngdlt.Enabled = ena;
            }
            if (chk_tchs.Checked)
            {
                chk_tcst.Checked = false;
                chk_tcst.Enabled = false;
            }
            else
            {
                chk_tcst.Checked = true;
                chk_tcst.Enabled = ena;
            }
            if (chk_tcst.Checked)
            {
                chk_tchs.Checked = false;
                chk_tchs.Enabled = false;
            }
            else
            {
                chk_tchs.Checked = true;
                chk_tchs.Enabled = ena;
            }
            if (chk_tths.Checked)
            {
                chk_ttst.Checked = false;
                chk_ttst.Enabled = false;
            }
            else
            {
                chk_ttst.Checked = true;
                chk_ttst.Enabled = ena;
            }
            if (chk_ttst.Checked)
            {
                chk_tths.Checked = false;
                chk_tths.Enabled = false;
            }
            else
            {
                chk_tths.Checked = true;
                chk_tths.Enabled = ena;
            }
            if (chk_tqhs.Checked)
            {
                chk_tqst.Checked = false;
                chk_tqst.Enabled = false;
            }
            else
            {
                chk_tqst.Checked = true;
                chk_tqst.Enabled = ena;
            }
            if (chk_tqst.Checked)
            {
                chk_tqhs.Checked = false;
                chk_tqhs.Enabled = false;
            }
            else
            {
                chk_tqhs.Checked = true;
                chk_tqhs.Enabled = ena;
            }
            txt_bdn.Enabled = ena;
            txt_ktn.Enabled = ena;
            txt_bdd.Enabled = ena;
            txt_ktd.Enabled = ena;
        }

        private void load_tabpc()
        {
            decimal luong = 0, luong_pc = 0, ngaycn = 0, ngaythuong = 0, ngayle = 0, d_ngaycn = 0, d_ngaythuong = 0
                , d_ngayle = 0, bhxh = 0, bhyt = 0, bhtn = 0, sbhxh = 0, sbhtn = 0, sbhyt = 0, om = 0, pctq_nt = 0, pctq_cn = 0, pctq_lt = 0, pctc_nt = 0
                , pctc_cn = 0, pctc_lt = 0, hpctc_nt = 0, hpctc_cn = 0, hpctc_lt = 0,hsdst_abc=0,stpc_abc=0;
            string h_abc = "", h_tt = "", h_ng = "", h_tc = "", h_tq = "";
            foreach (DataRow r in ds_hs.Tables[0].Rows)
            {
                luong = r["mltt"].ToString() == "" ? 0 : decimal.Parse(r["mltt"].ToString().Trim());
                txtpc_mltt.Text = luong.ToString("###,###,###");
                luong_pc = r["mltt_phucap"].ToString() == "" ? 0 : decimal.Parse(r["mltt_phucap"].ToString().Trim());
                txtpc_mlphucap.Text = luong_pc.ToString("###,###,###");
                txtpc_ngaylvqd.Text = r["lamviec"].ToString();
                txtpc_snlvthucte.Text = r["snlvthucte"].ToString();
                //
                ngaycn = r["mcn_hs"].ToString() == "" ? 0 : decimal.Parse(r["mcn_hs"].ToString().Trim());
                txtpc_ngnchunhat.Text = ngaycn.ToString("#.##");
                ngaythuong = r["mcaba_hs"].ToString() == "" ? 0 : decimal.Parse(r["mcaba_hs"].ToString().Trim());
                txtpc_ngnthuong.Text = ngaythuong.ToString("#.##");
                ngayle = r["mletet_hs"].ToString() == "" ? 0 : decimal.Parse(r["mletet_hs"].ToString().Trim());
                txtpc_ngnle.Text = ngayle.ToString("#.##");
                d_ngaycn = r["pcngcn_d"].ToString() == "" ? 0 : decimal.Parse(r["pcngcn_d"].ToString().Trim());
                txtpc_ngdchunhat.Text = d_ngaycn.ToString("#.##");
                d_ngaythuong = r["pcngnt_d"].ToString() == "" ? 0 : decimal.Parse(r["pcngnt_d"].ToString().Trim());
                txtpc_ngdthuong.Text = d_ngaythuong.ToString("#.##");
                d_ngayle = r["pcnglt_d"].ToString() == "" ? 0 : decimal.Parse(r["pcnglt_d"].ToString().Trim());
                txtpc_ngdle.Text = d_ngayle.ToString("#.##");
                //
                decimal kpcd = r["mkpcd_hs"].ToString() == "" ? 0 : decimal.Parse(r["mkpcd_hs"].ToString().Trim());
                if (kpcd > 1)
                    txtpc_kpcd.Text = kpcd.ToString("#.##");
                else
                    txtpc_kpcd.Text = kpcd.ToString("0.##");
                bhxh = r["mbhxh_hs"].ToString() == "" ? 0 : decimal.Parse(r["mbhxh_hs"].ToString().Trim());
                if (bhxh > 1)
                    txtpc_bhxh.Text = bhxh.ToString("#.##");
                else
                    txtpc_bhxh.Text = bhxh.ToString("0.##");

                bhyt = r["mbhyt_hs"].ToString() == "" ? 0 : decimal.Parse(r["mbhyt_hs"].ToString().Trim());
                if (bhyt > 1)
                    txtpc_bhyt.Text = bhyt.ToString("#.###");
                else
                    txtpc_bhyt.Text = bhyt.ToString("0.###");

                bhtn = r["mbhtn_hs"].ToString() == "" ? 0 : decimal.Parse(r["mbhtn_hs"].ToString().Trim());
                if (bhtn > 1)
                    txtpc_bhtn.Text = bhtn.ToString("#.##");
                else
                    txtpc_bhtn.Text = bhtn.ToString("0.##");
                sbhxh = r["sbhxh_hs"].ToString() == "" ? 0 : decimal.Parse(r["sbhxh_hs"].ToString().Trim());
                if (sbhxh > 1)
                    txtpc_sbhxh.Text = sbhxh.ToString("#.##");
                else
                    txtpc_sbhxh.Text = sbhxh.ToString("0.##");
                sbhyt = r["sbhyt_hs"].ToString() == "" ? 0 : decimal.Parse(r["sbhyt_hs"].ToString().Trim());

                if (sbhyt > 1)
                    txtpc_sbhyt.Text = sbhyt.ToString("#.###");
                else
                    txtpc_sbhyt.Text = sbhyt.ToString("0.###");

                sbhtn = r["sbhtn_hs"].ToString() == "" ? 0 : decimal.Parse(r["sbhtn_hs"].ToString().Trim());
                if (sbhtn > 1)
                    txtpc_sbhtn.Text = sbhtn.ToString("#.##");
                else
                    txtpc_sbhtn.Text = sbhtn.ToString("0.##");
                //                          
                decimal mtk_hs = r["mtietkiem_hs"].ToString() == "" ? 0 : decimal.Parse(r["mtietkiem_hs"].ToString().Trim());
                if (mtk_hs > 1)
                    txtpc_hstkiem.Text = mtk_hs.ToString("#.##");
                else
                    txtpc_hstkiem.Text = mtk_hs.ToString("0.##");

                decimal hienvat1 = r["hs1"].ToString() == "" ? 0 : decimal.Parse(r["hs1"].ToString().Trim());
                txtpc_hs1.Text = hienvat1.ToString("###,###");

                decimal hienvat2 = r["hs2"].ToString() == "" ? 0 : decimal.Parse(r["hs2"].ToString().Trim());
                txtpc_hs2.Text = hienvat2.ToString("###,###");

                decimal hienvat3 = r["hs3"].ToString() == "" ? 0 : decimal.Parse(r["hs3"].ToString().Trim());
                txtpc_hs3.Text = hienvat3.ToString("###,###");

                decimal hienvat4 = r["hs4"].ToString() == "" ? 0 : decimal.Parse(r["hs4"].ToString().Trim());
                txtpc_hs4.Text = hienvat4.ToString("###,###");
                //
                decimal lea = r["ma"].ToString() == "" ? 0 : decimal.Parse(r["ma"].ToString().Trim());
                txtpc_hsa.Text = lea.ToString("");
                decimal leb = r["mb"].ToString() == "" ? 0 : decimal.Parse(r["mb"].ToString().Trim());
                txtpc_hsb.Text = leb.ToString("");
                decimal lec = r["mc"].ToString() == "" ? 0 : decimal.Parse(r["mc"].ToString().Trim());
                txtpc_hsc.Text = lec.ToString("");
                decimal thuonga = r["thuonga"].ToString() == "" ? 0 : decimal.Parse(r["thuonga"].ToString().Trim());
                txtpc_sta.Text = thuonga.ToString("#,###,###");
                decimal thuongb = r["thuongb"].ToString() == "" ? 0 : decimal.Parse(r["thuongb"].ToString().Trim());
                txtpc_stb.Text = thuongb.ToString("#,###,###");
                decimal thuongc = r["thuongc"].ToString() == "" ? 0 : decimal.Parse(r["thuongc"].ToString().Trim());
                txtpc_stc.Text = thuongc.ToString("#,###,###");
                //
                decimal thuongtruc = r["pctt"].ToString() == "" ? 0 : decimal.Parse(r["pctt"].ToString().Trim());
                txtpc_ttthuong.Text = thuongtruc.ToString("###,###,###");//#,##0.00
                decimal bdhv = r["pctt1"].ToString() == "" ? 0 : decimal.Parse(r["pctt1"].ToString().Trim());
                txtpc_ttcn.Text = bdhv.ToString("###,###,###");//#,##0.00
                decimal ttle = r["pctt2"].ToString() == "" ? 0 : decimal.Parse(r["pctt2"].ToString().Trim());
                txtpc_ttle.Text = ttle.ToString("###,###,###");
                decimal hsthuongtruc = r["hpctt"].ToString() == "" ? 0 : decimal.Parse(r["hpctt"].ToString().Trim());
                txtpc_hsthuong.Text = hsthuongtruc.ToString("###,###,###");
                decimal hsbdhv = r["hpctt1"].ToString() == "" ? 0 : decimal.Parse(r["hpctt1"].ToString().Trim());
                txtpc_hscn.Text = hsbdhv.ToString("###,###,###");
                decimal hsttle = r["hpctt2"].ToString() == "" ? 0 : decimal.Parse(r["hpctt2"].ToString().Trim());
                txtpc_hsle.Text = hsttle.ToString("###,###,###");
                //
                om = r["mom_hs"].ToString() == "" ? 0 : decimal.Parse(r["mom_hs"].ToString().Trim());
                if (om > 1)
                    txtpc_hsom.Text = om.ToString("#.##");
                else
                    txtpc_hsom.Text = om.ToString("0.##");
                decimal tv = r["lg_tapsu"].ToString() == "" ? 0 : decimal.Parse(r["lg_tapsu"].ToString().Trim());
                if (tv > 1)
                    txtpc_luongtv.Text = tv.ToString("#.##");
                else
                    txtpc_luongtv.Text = tv.ToString("0.##");
                decimal dh = r["lg_dihoc"].ToString() == "" ? 0 : decimal.Parse(r["lg_dihoc"].ToString().Trim());
                if (dh > 1)
                    txtpc_luongdh.Text = dh.ToString("#.##");
                else
                    txtpc_luongdh.Text = dh.ToString("0.##"); //            
                //
                pctq_nt = r["pctq_nt"].ToString() == "" ? 0 : decimal.Parse(r["pctq_nt"].ToString().Trim());
                if (pctq_nt > 1)
                    txt_pctq_nt.Text = pctq_nt.ToString("#.##");
                else
                    txt_pctq_nt.Text = pctq_nt.ToString("0.##");
                pctq_cn = r["pctq_cn"].ToString() == "" ? 0 : decimal.Parse(r["pctq_cn"].ToString().Trim());
                if (pctq_cn > 1)
                    txt_pctq_cn.Text = pctq_cn.ToString("#.##");
                else
                    txt_pctq_cn.Text = pctq_cn.ToString("0.##");
                pctq_lt = r["pctq_lt"].ToString() == "" ? 0 : decimal.Parse(r["pctq_lt"].ToString().Trim());
                if (pctq_lt > 1)
                    txt_pctq_lt.Text = pctq_lt.ToString("#.##");
                else
                    txt_pctq_lt.Text = pctq_lt.ToString("0.##");
                pctc_nt = r["pctc_nt"].ToString() == "" ? 0 : decimal.Parse(r["pctc_nt"].ToString().Trim());
                txt_pctc_thuong.Text = pctc_nt.ToString("###,###,###");
                pctc_cn = r["pctc_cn"].ToString() == "" ? 0 : decimal.Parse(r["pctc_cn"].ToString().Trim());
                txt_pctc_cn.Text = pctc_cn.ToString("###,###,###");
                pctc_lt = r["pctc_lt"].ToString() == "" ? 0 : decimal.Parse(r["pctc_lt"].ToString().Trim());
                txt_pctc_lt.Text = pctc_lt.ToString("###,###,###");
                hpctc_nt = r["hpctc_nt"].ToString() == "" ? 0 : decimal.Parse(r["hpctc_nt"].ToString().Trim());
                txt_pctc_hsthuong.Text = hpctc_nt.ToString("###,###,###");
                hpctc_cn = r["hpctc_cn"].ToString() == "" ? 0 : decimal.Parse(r["hpctc_cn"].ToString().Trim());
                txt_pctc_hscn.Text = hpctc_cn.ToString("###,###,###");
                hpctc_lt = r["hpctc_lt"].ToString() == "" ? 0 : decimal.Parse(r["hpctc_lt"].ToString().Trim());
                txt_pctc_hslt.Text = hpctc_lt.ToString("###,###,###");
                stpc_abc = r["stpc_abc"].ToString() == "" ? 0 : decimal.Parse(r["stpc_abc"].ToString().Trim());
                txt_stpc_abc.Text = stpc_abc.ToString("###,###,###");
                chk_abc_sdst.Checked = r["hsdst_abc"].ToString().Trim().Equals("1") ? true : false;

                chk_abchs.Checked = r["h_abc"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_abcst.Checked = r["h_abc"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_tths.Checked = r["h_tt"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_ttst.Checked = r["h_tt"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_nghs.Checked = r["h_ng"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_ngst.Checked = r["h_ng"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_tchs.Checked = r["h_tc"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_tcst.Checked = r["h_tc"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                chk_tqhs.Checked = r["h_tq"].ToString().Substring(0, 1).Trim().Equals("1") ? true : false;
                chk_tqst.Checked = r["h_tq"].ToString().Substring(1, 1).Trim().Equals("1") ? true : false;
                txt_bdn.Text=  r["gbdng_n"].ToString();
                txt_ktn.Text=  r["gktng_n"].ToString();
                txt_bdd.Text= r["gbdng_d"].ToString();
                txt_ktd.Text= r["gktng_d"].ToString();
            }
            uenapc_ctrl(false);
        }
        private void btnpc_luu_Click(object sender, EventArgs e)
        {
            decimal mltt = 0, mtietkiem_hs = 0, mltt_phucap = 0, lamviec = 0, snlvthucte = 0, mkpcd_hs = 0, mbhxh_hs = 0, mbhyt_hs = 0, mbhtn_hs = 0,
                sbhxh_hs = 0, sbhyt_hs = 0, sbhtn_hs = 0, mcn_hs = 0, mcaba_hs = 0, mletet_hs = 0, pcngnt_d = 0, pcngcn_d = 0, pcnglt_d = 0
                , hs1 = 0, hs2 = 0, hs3 = 0, hs4 = 0, ma = 0, mb = 0, mc = 0, thuonga = 0, thuongb = 0, thuongc = 0, pctt = 0, pctt1 = 0, pctt2 = 0, hpctt = 0, hpctt1 = 0, hpctt2 = 0
                , mom_hs = 0, thuviec = 0, dihoc = 0, pctq_nt = 0, pctq_cn = 0, pctq_lt = 0, pctc_nt = 0, pctc_cn = 0, pctc_lt = 0, hpctc_nt = 0
                , hpctc_cn = 0, hpctc_lt = 0,hsdst_abc=0,stpc_abc=0;
            string h_abc = "",h_tt="",h_ng="",h_tc="",h_tq="",gbdng_n="",gktng_n="",gbdng_d="",gktng_d="";
            mltt = txtpc_mltt.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_mltt.Text.Trim());
            mtietkiem_hs = txtpc_hstkiem.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hstkiem.Text.Trim());
            mltt_phucap = txtpc_mlphucap.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_mlphucap.Text.Trim());
            lamviec = txtpc_ngaylvqd.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngaylvqd.Text.Trim());
            snlvthucte = txtpc_snlvthucte.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_snlvthucte.Text.Trim());
            mkpcd_hs = txtpc_kpcd.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_kpcd.Text.Trim());
            mbhxh_hs = txtpc_bhxh.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_bhxh.Text.Trim());
            mbhyt_hs = txtpc_bhyt.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_bhyt.Text.Trim());
            mbhtn_hs = txtpc_bhtn.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_bhtn.Text.Trim());
            sbhxh_hs = txtpc_sbhxh.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_sbhxh.Text.Trim());
            sbhyt_hs = txtpc_sbhyt.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_sbhyt.Text.Trim());
            sbhtn_hs = txtpc_sbhtn.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_sbhtn.Text.Trim());
            //
            mcaba_hs = txtpc_ngnthuong.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngnthuong.Text.Trim());
            mcn_hs = txtpc_ngnchunhat.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngnchunhat.Text.Trim());
            mletet_hs = txtpc_ngnle.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngnle.Text.Trim());
            pcngnt_d = txtpc_ngdthuong.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngdthuong.Text.Trim());
            pcngcn_d = txtpc_ngdchunhat.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngdchunhat.Text.Trim());
            pcnglt_d = txtpc_ngdle.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ngdle.Text.Trim());
            //            
            hs1 = txtpc_hs1.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hs1.Text.Trim());
            hs2 = txtpc_hs2.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hs2.Text.Trim());
            hs3 = txtpc_hs3.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hs3.Text.Trim());
            hs4 = txtpc_hs4.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hs4.Text.Trim());
            //
            ma = txtpc_hsa.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsa.Text.Trim());
            mb = txtpc_hsb.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsb.Text.Trim());
            mc = txtpc_hsc.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsc.Text.Trim());
            thuonga = txtpc_sta.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_sta.Text.Trim());
            thuongb = txtpc_stb.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_stb.Text.Trim());
            thuongc = txtpc_stc.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_stc.Text.Trim());
            //
            pctt = txtpc_ttthuong.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ttthuong.Text.Trim());
            pctt1 = txtpc_ttcn.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ttcn.Text.Trim());
            pctt2 = txtpc_ttle.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_ttle.Text.Trim());
            hpctt = txtpc_hsthuong.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsthuong.Text.Trim());
            hpctt1 = txtpc_hscn.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hscn.Text.Trim());
            hpctt2 = txtpc_hsle.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsle.Text.Trim());
            //
            mom_hs = txtpc_hsom.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_hsom.Text.Trim());
            thuviec = txtpc_luongtv.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_luongtv.Text.Trim());
            dihoc = txtpc_luongdh.Text.Trim() == "" ? 0 : decimal.Parse(txtpc_luongdh.Text.Trim());
            // 
            pctq_nt = txt_pctq_nt.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctq_nt.Text.Trim());
            pctq_cn = txt_pctq_cn.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctq_cn.Text.Trim());
            pctq_lt = txt_pctq_lt.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctq_lt.Text.Trim());
            //
            pctc_nt = txt_pctc_thuong.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_thuong.Text.Trim());
            pctc_cn = txt_pctc_cn.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_cn.Text.Trim());
            pctc_lt = txt_pctc_lt.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_lt.Text.Trim());
            hpctc_nt = txt_pctc_hsthuong.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_hsthuong.Text.Trim());
            hpctc_cn = txt_pctc_hscn.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_hscn.Text.Trim());
            hpctc_lt = txt_pctc_hslt.Text.Trim() == "" ? 0 : decimal.Parse(txt_pctc_hslt.Text.Trim());
            //hsdst_abc = chk_abchs.Checked ? 1 : 0;
            hsdst_abc = chk_abc_sdst.Checked ? 1 : 0;
            stpc_abc =  txt_stpc_abc.Text.Trim() == "" ? 0 : decimal.Parse(txt_stpc_abc.Text.Trim());
            h_abc = chk_abchs.Checked ? "1" : "0";
            h_abc += chk_abcst.Checked ? "1" : "0";
            h_tt = chk_tths.Checked ? "1" : "0";
            h_tt += chk_ttst.Checked ? "1" : "0";
            h_ng = chk_nghs.Checked ? "1" : "0";
            h_ng += chk_ngst.Checked ? "1" : "0";
            h_tc = chk_tchs.Checked ? "1" : "0";
            h_tc += chk_tcst.Checked ? "1" : "0";
            h_tq = chk_tqhs.Checked ? "1" : "0";
            h_tq += chk_tqst.Checked ? "1" : "0";

            gbdng_n = txt_bdn.Text.Trim();
            gktng_n = txt_ktn.Text.Trim();
            gbdng_d = txt_bdd.Text.Trim();
            gktng_d = txt_ktd.Text.Trim();
            //
            mDB.upd_hesopc(s_mmyy, mltt, mtietkiem_hs, mltt_phucap, lamviec, snlvthucte, mkpcd_hs, mbhxh_hs, mbhyt_hs, mbhtn_hs, sbhxh_hs
            ,sbhyt_hs, sbhtn_hs, mcaba_hs, mcn_hs, mletet_hs, pcngnt_d, pcngcn_d, pcnglt_d, hs1, hs2, hs3, hs4, ma, mb, mc
            ,thuonga, thuongb, thuongc, pctt, pctt1, pctt2, hpctt, hpctt1, hpctt2, mom_hs, thuviec, dihoc, pctq_nt, pctq_cn, pctq_lt, pctc_nt, pctc_cn, pctc_lt, hpctc_nt, hpctc_cn, hpctc_lt
            ,hsdst_abc,stpc_abc,h_abc,h_tt,h_ng,h_tc,h_tq,gbdng_n,gktng_n,gbdng_d,gktng_d);
            // cập nhật thay đổi tiền đống bảo hiểm của nhân viên
            mDB.Capnhat_Baohiem(mbhxh_hs, mbhyt_hs, mkpcd_hs, mbhtn_hs, s_mmyy);
            enapc_ctrl(false);
            uenapc_ctrl(false);
            btnpc_luu.Enabled = false;
            btnpc_sua.Enabled = true;
            btnpc_boqua.Enabled = false;
        }
        private void uenapc_ctrl(bool ena)
        {
            txtpc_hsa.Enabled = ena;
            txtpc_hsb.Enabled = ena;
            txtpc_hsc.Enabled = ena;
            txtpc_sta.Enabled = ena;
            txtpc_stb.Enabled = ena;
            txtpc_stc.Enabled = ena;
            txt_stpc_abc.Enabled = ena;
        }
        private void btnpc_sua_Click(object sender, EventArgs e)
        {
            enapc_ctrl(true);
            btnpc_luu.Enabled = true;
            btnpc_boqua.Enabled = true;
            btnpc_sua.Enabled = false;
        }

        private void btnpc_boqua_Click(object sender, EventArgs e)
        {
            enapc_ctrl(false);
            btnpc_luu.Enabled = false;
            btnpc_boqua.Enabled = false;
            btnpc_sua.Enabled = true;
        }
        private void txt_bdn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{tab}");
        }

        private void txt_ktn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{tab}");
        }

        private void txt_bdd_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{tab}");
        }

        private void txt_ktd_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                btnpc_luu.Focus();
        }

        private void txt_bdn_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!mDB.IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8 || e.KeyChar == '.')
                e.Handled = false;
        }

        private void txt_ktn_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!mDB.IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8 || e.KeyChar == '.')
                e.Handled = false;
        }

        private void txt_bdd_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!mDB.IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8 || e.KeyChar == '.')
                e.Handled = false;
        }

        private void txt_ktd_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!mDB.IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8 || e.KeyChar == '.')
                e.Handled = false;
        }
        private void txt_ktd_Leave(object sender, EventArgs e)
        {
            if (mDB.TestTime(txt_ktd) == true)
                mDB.FormatTime(txt_ktd);
            else
            {
                MessageBox.Show(lan.Change_language_MessageText("Nhập lại giờ phút 4 chữ số dạng 0000"));
                txt_ktd.Focus();
            }
        }

        private void txt_bdn_Leave(object sender, EventArgs e)
        {
            if (mDB.TestTime(txt_bdn) == true)
                mDB.FormatTime(txt_bdn);
            else
            {
                MessageBox.Show(lan.Change_language_MessageText("Nhập lại giờ phút 4 chữ số dạng 0000"));
                txt_bdn.Focus();
            }

        }

        private void txt_ktn_Leave(object sender, EventArgs e)
        {
            if (mDB.TestTime(txt_ktn) == true)
                mDB.FormatTime(txt_ktn);
            else
            {
                MessageBox.Show(lan.Change_language_MessageText("Nhập lại giờ phút 4 chữ số dạng 0000"));
                txt_ktn.Focus();
            }
        }

        private void txt_bdd_Leave(object sender, EventArgs e)
        {
            if (mDB.TestTime(txt_bdd) == true)
                mDB.FormatTime(txt_bdd);
            else
            {
                MessageBox.Show(lan.Change_language_MessageText("Nhập lại giờ phút 4 chữ số dạng 0000"));
                txt_bdd.Focus();
            }
        }

        private void txt_bdn_Validated(object sender, EventArgs e)
        {
            if (txt_bdn.Text.Trim() != "")
            {
                txt_ktd.Text = txt_bdn.Text.Trim();
                txt_ktd.Enabled = false;
            }
        }

        private void txt_ktn_Validated(object sender, EventArgs e)
        {
            if (txt_ktn.Text.Trim() != "")
            {
                txt_bdd.Text = txt_ktn.Text.Trim();
                txt_bdd.Enabled = false;
            }
        }
        private void btnpc_thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        #endregion
        #region Phụ cap PTTT
        private void enapt_ctrl(bool ena)
        {
            txtpt_ptvchinh.Enabled = ena;
            txtpt_phu1.Enabled = ena;
            txtpt_phu2.Enabled = ena;
            txtpt_bsgm.Enabled = ena;
            txtpt_ktvgm.Enabled = ena;
            txtpt_dungcu.Enabled = ena;
            txtpt_giupviec.Enabled = ena;
        }
        private void enapt_btn(bool ena)
        {
            btnpt_them.Enabled = ena;
            btnpt_thoat.Enabled = ena;
            btnpt_sua.Enabled = !ena;
            btnpt_luu.Enabled = !ena;
            btnpt_boqua.Enabled = !ena;
            btnpt_xoa.Enabled = !ena;
        }
        private void clear_pt()
        {
            txtpt_ptvchinh.Text = "";
            txtpt_phu1.Text = "";
            txtpt_phu2.Text = "";
            txtpt_bsgm.Text = "";
            txtpt_ktvgm.Text = "";
            txtpt_dungcu.Text = "";
            txtpt_giupviec.Text = "";
        }
        string s_pttt = "";
        private void load_tabphauthuat()
        {
            load_gridpt(s_pttt, cbopt_loaipt.SelectedValue.ToString().Trim());
        }
        private void load_gridpt(string s_pttt, string loai)
        {
            string sql = "";
            sql = "select * from " + user + ".boiduong_pttt where mmyy='" + s_mmyy + "'";
            if (s_pttt != "")
                sql += " and pttt='" + s_pttt + "'";
            if (loai != "")
            {
                sql += " and trim(loai)='" + loai + "'";
            }
            sql += " order by pttt,tenloai";
            ds_pt = mDB.get_data(sql);

            dataGridView1.DataSource = ds_pt.Tables[0];
            CurrencyManager cm = (CurrencyManager)BindingContext[dataGridView1.DataSource, dataGridView1.DataMember];
            DataView dv = (DataView)cm.List;
            dv.AllowNew = false;
            dv.AllowEdit = false;
        }
        private void radpt_pthuat_CheckedChanged(object sender, EventArgs e)
        {
            gpBPTTT.Tag = radpt_pthuat.Tag.ToString();
            cbopt_loaipt.SelectedValue = "l1";
            cbopt_loaipt.Enabled = true;
            load_gridpt(gpBPTTT.Tag.ToString(), ((cbopt_loaipt.SelectedIndex != -1) ? cbopt_loaipt.SelectedValue.ToString() : ""));
        }
        private void radpt_tthuat_CheckedChanged(object sender, EventArgs e)
        {
            gpBPTTT.Tag = "T";
            cbopt_loaipt.SelectedValue = "l3";
            load_gridpt(gpBPTTT.Tag.ToString(), ((cbopt_loaipt.SelectedIndex != -1) ? cbopt_loaipt.SelectedValue.ToString() : ""));
        }
        private void cbopt_loaipt_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.ActiveControl == cbopt_loaipt)
            {
                load_gridpt(gpBPTTT.Tag.ToString(), ((cbopt_loaipt.SelectedIndex != -1) ? cbopt_loaipt.SelectedValue.ToString() : ""));
            }
        }
        private void dataGridView1_CurrentCellChanged(object sender, EventArgs e)
        {
            decimal b_ptv = 0, b_phu1 = 0, b_phu2 = 0, b_bsgayme = 0, b_ktvgayme = 0, giupviec = 0, dungcu = 0;
            if (this.ActiveControl == dataGridView1 && dataGridView1.RowCount > 0)
            {
                DataRowView arv = (DataRowView)(dataGridView1.CurrentRow.DataBoundItem);
                try
                {
                    b_ptv = decimal.Parse(arv["ptv"].ToString());
                    b_phu1 = decimal.Parse(arv["phu1"].ToString());
                    b_phu2 = decimal.Parse(arv["phu2"].ToString());
                    b_bsgayme = decimal.Parse(arv["bsgayme"].ToString());
                    b_ktvgayme = decimal.Parse(arv["ktvgayme"].ToString());
                    giupviec = decimal.Parse(arv["giupviec"].ToString());
                    dungcu = decimal.Parse(arv["dungcu"].ToString());
                }
                catch
                { }
                txtpt_ptvchinh.Text = b_ptv.ToString("#,##0.00");
                txtpt_phu1.Text = b_phu1.ToString("#,##0.00");
                txtpt_phu2.Text = b_phu2.ToString("#,##0.00");
                txtpt_bsgm.Text = b_bsgayme.ToString("#,##0.00");
                txtpt_ktvgm.Text = b_ktvgayme.ToString("#,##0.00");
                txtpt_giupviec.Text = giupviec.ToString("#,##0.00");
                txtpt_dungcu.Text = dungcu.ToString("#,##0.00");
                txtloai.Text = arv["loai"].ToString();
                cbopt_loaipt.SelectedValue = arv["loai"].ToString();
            }
            enapt_btn(false);
            btnpt_luu.Enabled = false;
            btnpt_thoat.Enabled = false;
            btnpt_sua.Focus();
        }

        private void btnpt_them_Click(object sender, EventArgs e)
        {
            enapt_ctrl(true);
            enapt_btn(false);
            btnpt_thoat.Enabled = true;
            txtpt_ptvchinh.Focus();
        }
        private bool kiemtra()
        {
            if (cbopt_loaipt.SelectedIndex == -1)
            {
                MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn loại PTTT!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                cbopt_loaipt.Focus();
                SendKeys.Send("{F4}");
                return false;
            }
            return true;
        }
        private void btnpt_sua_Click(object sender, EventArgs e)
        {
            enapt_ctrl(true);
            enapt_btn(false);
            btnpt_xoa.Enabled = false;
            txtpt_ptvchinh.Focus();
        }
        private void btnpt_boqua_Click(object sender, EventArgs e)
        {
            enapt_ctrl(false);
            enapt_btn(true);
        }
        private void btnpt_xoa_Click(object sender, EventArgs e)
        {
            string s_pttt = "", s_loaipt = "";
            s_pttt = gpBPTTT.Tag.ToString();
            s_loaipt = cbopt_loaipt.SelectedValue.ToString();
            if (MessageBox.Show(lan.Change_language_MessageText("Đồng ý hủy thông tin này !"), "", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                mDB.Execute_data("delete from " + user + ".boiduong_pttt where pttt='" + s_pttt + "' and loai='" + s_loaipt + "'");
                load_gridpt(s_pttt, s_loaipt);
            }
            enapt_ctrl(false);
            enapt_btn(true);
        }
        private void btnpt_luu_Click(object sender, EventArgs e)
        {
            string s_pttt = "", loaipt = "";
            decimal ptvchinh = 0, phu1 = 0, phu2 = 0, bsgayme = 0, ktvgayme = 0, dungcu = 0, giupviec = 0, b_hoisuc = 0;
            if (!kiemtra()) return;
            ptvchinh = (txtpt_ptvchinh.Text != "") ? decimal.Parse(txtpt_ptvchinh.Text) : 0;
            txtpt_ptvchinh.Text = ptvchinh.ToString("#,##0", null);
            bsgayme = (txtpt_bsgm.Text != "") ? decimal.Parse(txtpt_bsgm.Text) : 0;
            txtpt_bsgm.Text = bsgayme.ToString("#,##0", null);
            ktvgayme = (txtpt_ktvgm.Text != "") ? decimal.Parse(txtpt_ktvgm.Text) : 0;
            txtpt_ktvgm.Text = ktvgayme.ToString("#,##0", null);
            phu1 = (txtpt_phu1.Text != "") ? decimal.Parse(txtpt_phu1.Text) : 0;
            txtpt_phu1.Text = phu1.ToString("#,##0", null);
            phu2 = (txtpt_phu2.Text != "") ? decimal.Parse(txtpt_phu2.Text) : 0;
            txtpt_phu2.Text = phu2.ToString("#,##0", null);
            dungcu = (txtpt_dungcu.Text != "") ? decimal.Parse(txtpt_dungcu.Text) : 0;
            txtpt_dungcu.Text = dungcu.ToString("#,##0", null);
            giupviec = (txtpt_giupviec.Text != "") ? decimal.Parse(txtpt_giupviec.Text) : 0;
            txtpt_giupviec.Text = giupviec.ToString("#,##0", null);
            if (cbopt_loaipt.SelectedIndex != -1)
                loaipt = cbopt_loaipt.SelectedValue.ToString().Trim();
            s_pttt = gpBPTTT.Tag.ToString();
            mDB.upd_boiduong_pttt(s_pttt, loaipt, s_mmyy, cbopt_loaipt.Text, ptvchinh, phu1, phu2, bsgayme, ktvgayme, b_hoisuc, dungcu, giupviec);
            load_gridpt(gpBPTTT.Tag.ToString(), cbopt_loaipt.SelectedValue.ToString());
            enapt_ctrl(false);
            enapt_btn(true);
        }
        private void btnpt_thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        public void loadcbolaoipttt()
        {
            DataSet ds_loaipt = new DataSet();
            DataRow r;
            try
            {
                ds_loaipt.ReadXml("..\\xml\\h_loaipttt.xml");

            }
            catch
            {
                ds_loaipt.Tables.Add("loaipttt");
                ds_loaipt.Tables[0].Columns.Add("loai", typeof(string));
                ds_loaipt.Tables[0].Columns.Add("tenloai", typeof(string));

                r = ds_loaipt.Tables[0].NewRow();
                r["loai"] = "db";
                r["tenloai"] = "Đặc biệt";
                ds_loaipt.Tables[0].Rows.Add(r);

                r = ds_loaipt.Tables[0].NewRow();
                r["loai"] = "l1";
                r["tenloai"] = "Loại 1";
                ds_loaipt.Tables[0].Rows.Add(r);
                //
                r = ds_loaipt.Tables[0].NewRow();
                r["loai"] = "l2";
                r["tenloai"] = "Loại 2";
                ds_loaipt.Tables[0].Rows.Add(r);
                //
                r = ds_loaipt.Tables[0].NewRow();
                r["loai"] = "l3";
                r["tenloai"] = "Loại 3";
                ds_loaipt.Tables[0].Rows.Add(r);
                //
                ds_loaipt.WriteXml("..\\xml\\h_loaipttt.xml", XmlWriteMode.WriteSchema);
            }
            cbopt_loaipt.ValueMember = "loai";
            cbopt_loaipt.DisplayMember = "tenloai";
            cbopt_loaipt.DataSource = ds_loaipt.Tables[0];
            cbopt_loaipt.SelectedIndex = -1;
        }
        #endregion
        #region tab he so bao hiem
        private bool kt_hsbh()
        {
            if (cbo_hopdong.SelectedIndex == -1)
            {
                MessageBox.Show(lan.Change_language_MessageText("Chưa chọn loại hợp đồng!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return false;
                cbo_hopdong.Focus();
            }
            return true;
        }
        private void load_loaihd()
        {
            cbo_hopdong.DataSource = mDB.get_data(" select * from " + user + ".mahd order by mahd").Tables[0];
            cbo_hopdong.DisplayMember = "tenhd";
            cbo_hopdong.ValueMember = "mahd";
            cbo_hopdong.SelectedIndex = 0;
        }
        private void ena_ctrbh(bool ena)
        {
            rad_bhxh.Enabled = ena;
            rad_bhyt.Enabled = ena;
            rad_bhtn.Enabled = ena;
            rad_kpcd.Enabled = ena;
            chk_hslg.Enabled = ena;
            chk_hscv.Enabled = ena;
            chk_hsvk.Enabled = ena;
            chk_hskv.Enabled = ena;
            chk_hstn.Enabled = ena;
            chk_hsdh.Enabled = ena;
            chk_luongkhoan.Enabled = ena;
            cbo_hopdong.Enabled = ena;
        }
        private void ena_btnbh(bool ena)
        {
            btn_luubh.Enabled = !ena;
            btnbh_sua.Enabled = ena;
            btn_boquabh.Enabled = !ena;
        }
        private void refesh_bh()
        {
            chk_luongkhoan.Checked = false;
            chk_hslg.Checked = false;
            chk_hscv.Checked = false;
            chk_hsvk.Checked = false;
            chk_hskv.Checked = false;
            chk_hstn.Checked = false;
            chk_hsdh.Checked = false;
        }
        string loaihd = "", loaibh = "";
        private void save()
        {
            bool luongkhoan = false, hs_lc = false, hs_cv = false, hs_vk = false, hs_kv = false, hs_tn = false, hs_dh = false;
            if (rad_bhxh.Checked == true)
            {
                loaibh = "bhxh";
            }
            else
            {
                if (rad_bhyt.Checked == true)
                {
                    loaibh = "bhyt";
                }
                else
                {
                    if (rad_bhtn.Checked == true)
                    {
                        loaibh = "bhtn";
                    }
                    else
                    {
                        if (rad_kpcd.Checked == true)
                        {
                            loaibh = "kpcd";
                        }
                    }
                }
            }

            if (chk_luongkhoan.Checked == true)
            {
                luongkhoan = true;
            }
            if (chk_hslg.Checked == true)
            {
                hs_lc = true;
            }
            if (chk_hscv.Checked == true)
            {
                hs_cv = true;
            }
            if (chk_hsvk.Checked == true)
            {
                hs_vk = true;
            }
            if (chk_hskv.Checked == true)
            {
                hs_kv = true;
            }
            if (chk_hstn.Checked == true)
            {
                hs_tn = true;
            }
            if (chk_hsdh.Checked == true)
            {
                hs_dh = true;
            }
            loaihd = cbo_hopdong.SelectedValue.ToString().Trim();
            mDB.upd_hesobh(loaibh, loaihd, luongkhoan, hs_lc, hs_cv, hs_vk, hs_kv, hs_tn, hs_dh, s_mmyy);
            load_hesobh(loaibh, loaihd);
        }
        private void btn_luubh_Click(object sender, EventArgs e)
        {
            save();
        }
        private void load_hesobh(string loaibh, string loaihd)
        {
            //refesh_bh();
            string sql = " select * from " + user + ".heso_bh where mmyy='" + s_mmyy + "'";
            if (loaibh != "")
                sql += " and loaibh='" + loaibh.Trim() + "'";
            if (loaihd != "")
                sql += " and loaihd='" + loaihd.Trim() + "'";
            sql += " order by loaibh,loaihd";
            DataSet ds_bh = mDB.get_data(sql);
            if (ds_bh.Tables[0].Rows.Count > 0)
            {
                chk_luongkhoan.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["luongkhoan"].ToString());
                chk_hslg.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_lc"].ToString());
                chk_hscv.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_cv"].ToString());
                chk_hsvk.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_vk"].ToString());
                chk_hskv.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_kv"].ToString());
                chk_hstn.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_tn"].ToString());
                chk_hsdh.Checked = bool.Parse(ds_bh.Tables[0].Rows[0]["hs_dh"].ToString());
            }
        }
        private void btnbh_sua_Click(object sender, EventArgs e)
        {
            ena_ctrbh(true);
            ena_btnbh(false);
            btnbh_sua.Enabled = false;
            rad_bhxh.Focus();
        }
        private void btn_boquabh_Click(object sender, EventArgs e)
        {
            ena_ctrbh(false);
            ena_btnbh(true);
        }

        private void rad_bhxh_CheckedChanged(object sender, EventArgs e)
        {
            loaibh = "bhxh";
            load_hesobh(loaibh, cbo_hopdong.SelectedValue.ToString().Trim());
        }

        private void rad_bhyt_CheckedChanged(object sender, EventArgs e)
        {
            loaibh = "bhyt";
            load_hesobh(loaibh, cbo_hopdong.SelectedValue.ToString().Trim());
        }

        private void rad_bhtn_CheckedChanged(object sender, EventArgs e)
        {
            loaibh = "bhtn";
            load_hesobh(loaibh, cbo_hopdong.SelectedValue.ToString().Trim());
        }

        private void rad_kpcd_CheckedChanged(object sender, EventArgs e)
        {
            loaibh = "kpcd";
            load_hesobh(loaibh, cbo_hopdong.SelectedValue.ToString().Trim());
        }

        private void cbo_hopdong_SelectedIndexChanged(object sender, EventArgs e)
        {
            loaihd = cbo_hopdong.SelectedValue.ToString().Trim();
            load_hesobh(loaibh, loaihd);
        }
        private void ena_theohsluong(bool ena)
        {
            chk_hslg.Enabled = ena;
            chk_hscv.Enabled = ena;
            chk_hsvk.Enabled = ena;
            chk_hskv.Enabled = ena;
            chk_hstn.Enabled = ena;
            chk_hsdh.Enabled = ena;
        }
        private void ref_theohsluong(bool ena)
        {
            chk_hslg.Checked = ena;
            chk_hscv.Checked = ena;
            chk_hsvk.Checked = ena;
            chk_hskv.Checked = ena;
            chk_hstn.Checked = ena;
            chk_hsdh.Checked = ena;
        }
        private void chk_luongkhoan_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_luongkhoan.Checked == true)
            {
                ref_theohsluong(false);
                ena_theohsluong(false);
                save();
            }
            else
            {
                ena_theohsluong(true);
                save();
                load_hesobh(loaibh, loaihd);
            }
        }    
        //cap nhat ty le thue thu nhap
        private void ena_ttnctrl(bool ena)
        {
            txt_ttntu.Enabled = ena;
            txt_ttnden.Enabled = ena;
            txt_ttntyle.Enabled = ena;

        }
        private void ena_ttnbtn(bool ena)
        {
            btn_ttnthem.Enabled = ena;
            btn_ttnsua.Enabled = !ena;
            btn_ttnxoa.Enabled = !ena;
            btn_ttnboqua.Enabled = !ena;
            btn_ttnluu.Enabled = !ena;
        }
        private void load_dgrv_tylettn()
        {
            sql = "select * from " + user + ".tyle_ttncn where mmyy='" + s_mmyy + "'";
            ds = mDB.get_data(sql);
            dgrv_tylettn.DataSource = ds.Tables[0];
            CurrencyManager cm = (CurrencyManager)BindingContext[dgrv_tylettn.DataSource, dgrv_tylettn.DataMember];
            DataView dv = (DataView)cm.List;
            dv.AllowNew = false;
            dv.AllowEdit = false;
            dv.AllowDelete = false;
        }
        private void dgrv_tylettn_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                DataRowView arv = (DataRowView)(dgrv_tylettn.CurrentRow.DataBoundItem);
                txt_ttnid.Text = arv["id"].ToString();
                txt_ttntu.Text = (arv["gh_duoi"].ToString() != "" ? decimal.Parse(arv["gh_duoi"].ToString()).ToString("#,##0.00") : "0");
                txt_ttnden.Text = (arv["gh_tren"].ToString() != "" ? decimal.Parse(arv["gh_tren"].ToString()).ToString("#,##0.00") : "0");
                txt_ttntyle.Text = (arv["tyle_thue"].ToString() != "" ? decimal.Parse(arv["tyle_thue"].ToString()).ToString("#,##0.00") : "0");
                ena_ttnctrl(false);
                ena_ttnbtn(false);
                btn_ttnsua.Focus();
            }
            catch { }
        }
        private void btn_ttnthem_Click(object sender, EventArgs e)
        {
            int m_stt = 0, stt_pre = 0;
            DataSet ds1 = new DataSet();
            sql = "select max(id) from " + user + ".tyle_ttncn where mmyy='" + s_mmyy + "'";
            try
            {
                m_stt = int.Parse(mDB.get_data(sql).Tables[0].Rows[0][0].ToString()) + 1;
            }
            catch
            {
                m_stt = 1;
            }
            txt_ttnid.Text = m_stt.ToString();
            switch (m_stt)
            {
                case 1:

                    txt_ttntu.Text = "0";
                    break;
                default:
                    stt_pre = m_stt - 1;
                    sql = "select * from " + mDB.user + ".tyle_ttncn where mmyy='" + s_mmyy + "' and id=" + stt_pre;
                    ds1 = mDB.get_data(sql);
                    foreach (DataRow r in ds1.Tables[0].Rows)
                    {
                        txt_ttntu.Text = decimal.Parse(r["gh_tren"].ToString()).ToString("#,##0.00");
                    }
                    break;
            }
            txt_ttnden.Text = "";
            txt_ttntyle.Text = "";            
            ena_ttnctrl(true);
            ena_ttnbtn(false);
            txt_ttnden.Focus();
        }

        private void btn_ttnsua_Click(object sender, EventArgs e)
        {
            ena_ttnctrl(true);
            ena_ttnbtn(false);
            btn_ttnsua.Enabled = false;
            btn_ttnxoa.Enabled = false;
            txt_ttntu.Focus();
        }

        private void btn_ttnxoa_Click(object sender, EventArgs e)
        {
            if (txt_ttnid.Text != "")
            {
                if (MessageBox.Show(lan.Change_language_MessageText("Ban muốn hủy không?"), AccessData.Msg, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                    sql = "delete from " + user + ".tyle_ttncn where mmyy='" + s_mmyy + "' and id=" + txt_ttnid.Text;
                    mDB.Execute_data(sql);
                    load_dgrv_tylettn();
                }
            }
        }

        private void btn_ttnluu_Click(object sender, EventArgs e)
        {
            int m_id = 0;
            decimal thap = 0, cao = 0, tyle = 0;
            if (txt_ttntu.Text != "")
                thap = decimal.Parse(txt_ttntu.Text);
            if (txt_ttnden.Text != "")
                cao = decimal.Parse(txt_ttnden.Text);
            if (txt_ttntyle.Text != "")
                tyle = decimal.Parse(txt_ttntyle.Text);
            if (txt_ttnid.Text != "")
                m_id = int.Parse(txt_ttnid.Text);
            mDB.upd_thueTNV(m_id, thap, cao, tyle, s_mmyy);
            load_dgrv_tylettn();
            ena_ttnctrl(false);
            ena_ttnbtn(true);
        }

        private void btn_ttnboqua_Click(object sender, EventArgs e)
        {
            ena_ttnctrl(false);
            ena_ttnbtn(true);
            btn_ttnsua.Focus();
        }
        private void btnbh_thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        private void btn_tbhsua_Click(object sender, EventArgs e)
        {
            gr_hsbh.Enabled = true;
            ena_btnbh(true);
            ena_ctrbh(false);
            gr_tylettn.Enabled = true;
            dgrv_tylettn.Enabled = true;
            ena_ttnbtn(true);
            ena_ttnctrl(false);
            btn_tbhsua.Enabled = false;
            btn_tbhboqua.Enabled = true;
        }

        private void btn_tbhboqua_Click(object sender, EventArgs e)
        {
            ena_btnbh(true);
            ena_ctrbh(false);
            gr_hsbh.Enabled = false;
            ena_ttnbtn(true);
            ena_ttnctrl(false);
            dgrv_tylettn.Enabled = false;
            gr_tylettn.Enabled = false;
            btn_tbhsua.Enabled = true;
            btn_tbhboqua.Enabled = false;
        }
        private bool IsNumeric(string strNum)
        {
            int iNum;
            try
            {
                iNum = int.Parse(strNum);
                return true;
            }
            catch
            {
                return false;
            }
        }
        private void txt_ttntu_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{Tab}");
            }
        }

        private void txt_ttntu_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txt_ttntu.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txt_ttntu.Text.Trim());
                    txt_ttntu.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_ttntu.Focus();
                    return;
                }
            }
            else
                txt_ttntu.Text = "0";
        }

        private void txt_ttnden_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{Tab}");
            }
        }

        private void txt_ttnden_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txt_ttnden.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txt_ttnden.Text.Trim());
                    txt_ttnden.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_ttnden.Focus();
                    return;
                }
            }
            else
                txt_ttnden.Text = "0";
        }

        private void txt_ttntyle_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{Tab}");
            }
        }

        private void txt_ttntyle_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txt_ttntyle.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txt_ttntyle.Text.Trim());
                    txt_ttntyle.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_ttntyle.Focus();
                    return;
                }
            }
            else
                txt_ttntyle.Text = "0";
        }

        private void txt_ttntu_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8)
                e.Handled = false;
        }

        private void txt_ttnden_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8)
                e.Handled = false;
        }

        private void txt_ttntyle_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!IsNumeric(e.KeyChar.ToString()))
                e.Handled = true;
            if (e.KeyChar == 8)
                e.Handled = false;
        }
        #endregion
        #region cac su kien
        private void buttonsave_Click(object sender, System.EventArgs e)
        {
            bool r = false;
        }      

       
        private void buttonundo_Click(object sender, System.EventArgs e)
        {

        }

        private void txtmucluong_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtbhxh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtbhyt_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtkpcd_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txthsom_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtngaynghi_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}"); 
        }

        private void txtpcngaythuong_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpcngaychunhat_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpcngayletet_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtmtnt_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtmtcn_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtmtletet_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtmdbnt_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_tchs_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_tcst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_tths_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_ttst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_nghs_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_ngst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_tqhs_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_tqst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txtthuongtruc_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtbdhienvat_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtchinh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtphu1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtphu2_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtA_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtB_KeyDown_1(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtc_keydown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txtthuongtruc_le_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txthoisuc_thuong_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txthoisuc_cn_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txthoisuc_le_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtD_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtleC_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtleD_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txtleA_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtB_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }


        decimal thuongtruc_ngay = 0, thuongtruc_cn = 0, thuongtruc_le = 0, hsuc_thuong = 0, hsuc_cn = 0, hsuc_le = 0;
        private void txtthuongtruc_Validated(object sender, System.EventArgs e)
        {
            if (txtpc_ttthuong.Text.Trim() != "")
                try
                {
                    thuongtruc_ngay = decimal.Parse(txtpc_ttthuong.Text.Trim());
                    decimal t = thuongtruc_ngay;
                    txtpc_ttthuong.Text = thuongtruc_ngay.ToString("#,##0.00");
                    thuongtruc_cn = t * 13 / 10;
                    txtpc_ttcn.Text = thuongtruc_cn.ToString("#,##0.00");
                    thuongtruc_le = t * 18 / 10;
                    txtpc_ttle.Text = thuongtruc_le.ToString("#,##0.00");
                    hsuc_thuong = t * 15 / 10;
                    txtpc_hsthuong.Text = hsuc_thuong.ToString("#,##0.00");
                    hsuc_cn = t * 13 * 15 / 100;
                    txtpc_hscn.Text = hsuc_cn.ToString("#,##0.00");
                    hsuc_le = t * 18 * 15 / 100;
                    txtpc_hsle.Text = hsuc_le.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_ttthuong.Focus();
                    return;
                }

        }
        #region
        //private void txtchinh_Validated(object sender, System.EventArgs e)
        //{
        //    if(txtchinh.Text.Trim()!="")
        //    try
        //        {
        //            chinh=decimal.Parse(txtchinh.Text.Trim());
        //            txtchinh.Text=chinh.ToString("###,###");
        //        }	
        //        catch
        //        {
        //            MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
        //            txtchinh.Focus();
        //            return;
        //        }
        //}

        //private void txtphu1_Validated(object sender, System.EventArgs e)
        //{
        //    if(txtchinh.Text.Trim()!="")
        //try		{
        //            phu1=decimal.Parse(txtphu1.Text.Trim());
        //            txtphu1.Text=phu1.ToString("###,###");
        //        }	
        //catch
        //        {
        //            MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
        //            txtphu1.Focus();
        //            return;
        //        }

        //}

        //private void txtphu2_Validated(object sender, System.EventArgs e)
        //{
        //    if(txtphu2.Text.Trim()!="")
        //try		{
        //            phu2=decimal.Parse(txtphu2.Text.Trim());
        //            txtphu2.Text=phu2.ToString("###,###");
        //        }	
        //catch
        //        {
        //            MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
        //            txtphu2.Focus();
        //            return;
        //        }

        //}
        #endregion
        private void txt_stpc_abc_Validated(object sender, EventArgs e)
        {
            if (txt_stpc_abc.Text.Trim() == "")
            {
                txt_stpc_abc.Text = "0";
            }
        }
        private void txtA_Validated(object sender, System.EventArgs e)
        {
            decimal n = 0;
            if (txtpc_sta.Text.Trim() != "")
            {
                n = decimal.Parse(txtpc_sta.Text.Trim());
                if (n > 0)
                {
                    txtpc_sta.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpc_sta.Text ="0";
            }                
        }

        private void txtB_Validated(object sender, System.EventArgs e)
        {
            decimal n = 0;
            if (txtpc_stb.Text.Trim() != "")
            {
                n = decimal.Parse(txtpc_stb.Text.Trim());
                if (n > 0)
                {
                    txtpc_stb.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpc_stb.Text = "0";
            }             
        }

        private void txtC_Validated(object sender, System.EventArgs e)
        {
            decimal n = 0;
            if (txtpc_stc.Text.Trim() != "")
            {
                n = decimal.Parse(txtpc_stc.Text.Trim());
                if (n > 0)
                {
                    txtpc_stc.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpc_stc.Text = "0";
            }                
        }

        private void txtleA_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_hsa.Text.Trim()!="")
            //try {
            //        loaia=decimal.Parse(txtpc_hsa.Text.Trim());
            //        txtpc_hsa.Text=loaia.ToString();
            //    }	
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_hsa.Focus();
            //        return;
            //    }
        }

        private void txtleB_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_hsb.Text.Trim()!="")
            //try
            //    {
            //        loaib=decimal.Parse(txtpc_hsb.Text.Trim());
            //        txtpc_hsb.Text=loaib.ToString();
            //    }	
            //catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_hsb.Focus();
            //        return;
            //    }

        }

        private void txtmucluong_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_mltt.Text.Trim()!="")
            //try
            //{					
            //    ltt=decimal.Parse(txtpc_mltt.Text.Trim());
            //    txtpc_mltt.Text=ltt.ToString("###,###");
            //}	
            //catch
            //{
            //    MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //    txtpc_mltt.Focus();
            //    return;
            //}
        }

        private void txtbhxh_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_bhxh.Text.Trim()!="")
            //try	{
            //        bhxh=decimal.Parse(txtpc_bhxh.Text.Trim());
            //        if (bhxh >= 1)
            //        {
            //            bhxh =decimal.Parse( "0.05");
            //            txtpc_bhxh.Text = bhxh.ToString("0.##");
            //        }
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_bhxh.Focus();
            //        return;
            //    }

        }

        private void txtbhyt_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_bhyt.Text.Trim()!="")
            //try
            //    {
            //         bhyt=decimal.Parse(txtpc_bhyt.Text.Trim());
            //         if (bhyt >= 1)
            //         {
            //             bhyt = decimal.Parse("0.015");
            //             txtpc_bhyt.Text = bhyt.ToString("0.###");
            //         }
            //        //if(bhyt > 1)
            //        //    txtbhyt.Text=bhyt.ToString("##.##");
            //        //else
            //        //    txtbhyt.Text=bhyt.ToString("0.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_bhyt.Focus();
            //        return;

            //}
        }

        private void txtkpcd_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_kpcd.Text.Trim()!="")
            //try{
            //        kpcd=decimal.Parse(txtpc_kpcd.Text.Trim());
            //        if(kpcd > 1)
            //            txtpc_kpcd.Text=kpcd.ToString("##.##");
            //        else
            //            txtpc_kpcd.Text=kpcd.ToString("0.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_kpcd.Focus();
            //        return;
            //    }

        }        

        private void txtngaynghi_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_ngaylvqd.Text.Trim() !="")
            //    try
            //    {
            //        nghi = decimal.Parse(txtpc_ngaylvqd.Text.Trim());
            //        if (nghi > 26)
            //            MessageBox.Show("Nhập lại ngày được nghỉ trong tháng !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_ngaylvqd.Focus();
            //        return;
            //    }

        }

        private void txths1_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_hs1.Text.Trim()!="")
            //{
            //    try
            //    {
            //        hs1=decimal.Parse(txtpc_hs1.Text.Trim());
            //        txtpc_hs1.Text=hs1.ToString("###,###");
            //    }	
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_hs1.Focus();
            //        return;
            //    }
            //    }
        }

        private void txths2_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_hs2.Text.Trim()!="")
            //try
            //{
            //    hs2=decimal.Parse(txtpc_hs2.Text.Trim());
            //    txtpc_hs2.Text=hs2.ToString("###,###");
            //}	
            //catch
            //{
            //    MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //    txtpc_hs2.Focus();
            //    return;
            //}

        }

        private void txths3_Validated(object sender, System.EventArgs e)
        {
            //if(txtpc_hs3.Text.Trim()!="")			
            //    try
            //    {
            //        hs3=decimal.Parse(txtpc_hs3.Text.Trim());
            //        txtpc_hs3.Text=hs3.ToString("###,###");
            //    }	
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_hs3.Focus();
            //        return;
            //    }			
        }

        private void txths4_Validated_1(object sender, System.EventArgs e)
        {
            //if(txtpc_hs4.Text.Trim()!="")
            //    try{
            //        hs4=decimal.Parse(txtpc_hs4.Text.Trim());
            //        txtpc_hs4.Text=hs4.ToString("###,###");
            //    }	
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtpc_hs4.Focus();
            //        return;
            //    }
        }



        private void txtE_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtleE_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void label42_Click(object sender, System.EventArgs e)
        {

        }

        private void txtdb_c_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtdb_p1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtdb_p2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl1_c_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl1_p1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl1_p2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl2_c_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl2_p1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl2_p2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl3_c_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl3_p1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtl3_p2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtdb_c_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtdb_c.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtdb_c.Text.Trim());
                    txtdb_c.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtdb_c.Focus();
                    return;
                }
            }
        }

        private void txtdb_p1_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtdb_p1.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtdb_p1.Text.Trim());
                    txtdb_p1.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtdb_p1.Focus();
                    return;
                }
            }
        }

        private void txtdb_p2_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtdb_p2.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtdb_p2.Text.Trim());
                    txtdb_p2.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtdb_p2.Focus();
                    return;
                }
            }
        }

        private void txtl1_c_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl1_c.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl1_c.Text.Trim());
                    txtl1_c.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl1_c.Focus();
                    return;
                }
            }
        }

        private void txtl1_p1_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl1_p1.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl1_p1.Text.Trim());
                    txtl1_p1.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl1_p1.Focus();
                    return;
                }
            }
        }

        private void txtl2_c_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl2_c.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl2_c.Text.Trim());
                    txtl2_c.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl2_c.Focus();
                    return;
                }
            }
        }

        private void txtl1_p2_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl1_p2.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl1_p2.Text.Trim());
                    txtl1_p2.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl1_p2.Focus();
                    return;
                }
            }
        }

        private void txtl2_p1_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl2_p1.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl2_p1.Text.Trim());
                    txtl2_p1.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl2_p1.Focus();
                    return;
                }
            }
        }

        private void txtl2_p2_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl2_p2.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl2_p2.Text.Trim());
                    txtl2_p2.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl2_p2.Focus();
                    return;
                }
            }
        }

        private void txtl3_c_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl3_c.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl3_c.Text.Trim());
                    txtl3_c.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl3_c.Focus();
                    return;
                }
            }
        }

        private void txtl3_p1_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl3_p1.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl3_p1.Text.Trim());
                    txtl3_p1.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl3_p1.Focus();
                    return;
                }
            }
        }

        private void txtl3_p2_Validated(object sender, EventArgs e)
        {
            decimal so = 0;
            if (txtl3_p2.Text.Trim() != "")
            {
                try
                {
                    so = decimal.Parse(txtl3_p2.Text.Trim());
                    txtl3_p2.Text = so.ToString("###,###");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtl3_p2.Focus();
                    return;
                }
            }
        }       
        private void txtPt_ts_Validated(object sender, EventArgs e)
        {
            //decimal so = 0;
            //if (txtPt_ts.Text.Trim() != "")
            //{
            //    try
            //    {
            //        so = decimal.Parse(txtPt_ts.Text.Trim());
            //        txtPt_ts.Text = so.ToString();
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Yêu cầu nhập số !","",MessageBoxButtons.OK,MessageBoxIcon.Warning);
            //        txtPt_ts.Focus();
            //        return;
            //    }
            //}
        }

        private void txtPt_dh_Validated(object sender, EventArgs e)
        {
            //decimal so = 0;
            //if (txtPt_dh.Text.Trim() != "")
            //{
            //    try
            //    {
            //        so = decimal.Parse(txtPt_dh.Text.Trim());
            //        txtPt_dh.Text = so.ToString();
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Yêu cầu nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtPt_dh.Focus();
            //        return;
            //    }
            //}
        }

        private void chkKhoaso_CheckedChanged(object sender, EventArgs e)
        {
            //if (this.ActiveControl == chkKhoaso)
            //{
            //    string sql = "", chk = "";
            //    if (chkKhoaso.Checked)
            //        chk = "true";
            //    else
            //        chk = "false";
            //    sql = "update " + user + ".heso set khoa=" + chk + " where mm='" + thang + "' and yyyy='" + nam + "'";
            //    mDB.Execute_data(sql);
            //    if (chkKhoaso.Checked)
            //        chkKhoaso.ForeColor = System.Drawing.Color.Red;
            //    else
            //            chkKhoaso.ForeColor = System.Drawing.Color.Black;
            // }
        }

        private void cboTapsu_SelectedIndexChanged(object sender, EventArgs e)
        {
            //if (this.ActiveControl == cboTapsu)
            //{
            //    if (cboTapsu.SelectedIndex != -1)
            //    {
            //        txtPt_ts.Enabled = true;

            //    }
            //    else
            //    {
            //        txtPt_ts.Enabled = false;
            //        txtPt_ts.Text= "0";
            //    }
            //}
        }

        private void cbodihoc_SelectedIndexChanged(object sender, EventArgs e)
        {
            //if (this.ActiveControl == cbodihoc)
            //{
            //    if (cboTapsu.SelectedIndex != -1)
            //    {
            //        txtPt_dh.Enabled = true;

            //    }
            //    else
            //    {
            //        txtPt_dh.Enabled = false;
            //        txtPt_dh.Text = "0";
            //    }
            //}
        }

        private void cboTapsu_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtPt_ts_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void cbodihoc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtPt_dh_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }        

        private void txtten_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void abc_1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void diem_1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void abc_2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void diem_2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtmucluong_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }
        private void txthstkiem_Validated(object sender, EventArgs e)
        {
            //if (txtpc_hstkiem.Text.Trim() != "")
            //    try
            //    {
            //        mtk_hs = decimal.Parse(txtpc_hstkiem.Text.Trim());
            //        txtpc_hstkiem.Text = mtk_hs.ToString("###,###");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_hstkiem.Focus();
            //        return;
            //    }
        }

        private void txtd_thuong_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngdthuong.Text.Trim() != "")
            //    try
            //    {
            //        val = thuong = decimal.Parse(txtpc_ngdthuong.Text.Trim());
            //        if (thuong > 100)
            //        {
            //            val = thuong / 100;
            //        }
            //        txtpc_ngdthuong.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_ngdthuong.Focus();
            //        return;
            //    }		
        }

        private void txtd_chunhat_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngdchunhat.Text.Trim() != "")
            //    try
            //    {
            //        val = thuong = decimal.Parse(txtpc_ngdchunhat.Text.Trim());
            //        if (thuong > 100)
            //        {
            //            val = thuong / 100;
            //        }
            //        txtpc_ngdchunhat.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_ngdchunhat.Focus();
            //        return;
            //    }		
        }

        private void txtd_le_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngdle.Text.Trim() != "")
            //    try
            //    {
            //        val = thuong = decimal.Parse(txtpc_ngdle.Text.Trim());
            //        if (thuong > 100)
            //        {
            //            val = thuong / 100;
            //        }
            //        txtpc_ngdle.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_ngdle.Focus();
            //        return;
            //    }		
        }

        private void txtd_thuong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtd_chunhat_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtd_le_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtd_thuong_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txtd_chunhat_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txtd_le_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }


        #region su kien keydown
        private void rad_bhxh_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                cbo_hopdong.Focus();
            SendKeys.Send("{F4}");
        }

        private void rad_bhyt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                cbo_hopdong.Focus();
            SendKeys.Send("{F4}");
        }

        private void rad_bhtn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                cbo_hopdong.Focus();
            SendKeys.Send("{F4}");
        }

        private void rad_kpcd_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                cbo_hopdong.Focus();
            SendKeys.Send("{F4}");
        }

        private void cbo_hopdong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                chk_luongkhoan.Focus();
        }

        private void chk_luongkhoan_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hslg_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hscv_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsvk_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hskv_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hstn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");

        }

        private void chk_hsdh_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                btn_luubh.Focus();
        }
        #endregion

        private void txtpc_ngnthuong_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngnthuong.Text.Trim() != "")
            //    try
            //    {
            //        val = thuong = decimal.Parse(txtpc_ngnthuong.Text.Trim());
            //        if (thuong > 100)
            //        {
            //            val = thuong / 100;
            //        }
            //        txtpc_ngnthuong.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_ngnthuong.Focus();
            //        return;
            //    }		
        }

        private void txtpc_ngnchunhat_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngnchunhat.Text.Trim() != "")
            //    try
            //    {
            //        val = chunhat = decimal.Parse(txtpc_ngnchunhat.Text.Trim());
            //        if (chunhat > 100)
            //        {
            //            val = chunhat / 100;
            //        }
            //        txtpc_ngnchunhat.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_hs4.Focus();
            //        return;
            //    }
        }

        private void txtpc_ngnle_Validated(object sender, EventArgs e)
        {
            //decimal val = 0;
            //if (txtpc_ngnle.Text.Trim() != "")
            //    try
            //    {
            //        val = le = decimal.Parse(txtpc_ngnle.Text.Trim());
            //        if (le > 100)
            //        {
            //            val = le / 100;
            //        }
            //        txtpc_ngnle.Text = val.ToString("###,###.##");
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_ngnle.Focus();
            //        return;
            //    }
        }

        private void txtpc_ttle_Validated(object sender, EventArgs e)
        {
            if (txtpc_ttle.Text.Trim() != "")
                try
                {
                    thuongtruc_le = decimal.Parse(txtpc_ttle.Text.Trim());
                    txtpc_ttle.Text = thuongtruc_le.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_ttle.Focus();
                    return;
                }
        }

        private void txtpc_hsc_Validated(object sender, EventArgs e)
        {
            //if (txtpc_hsc.Text.Trim() != "")
            //    try
            //    {
            //        loaic = decimal.Parse(txtpc_hsc.Text.Trim());
            //        txtpc_hsc.Text = loaic.ToString();
            //    }
            //    catch
            //    {
            //        MessageBox.Show("Nhập số !", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txtpc_hsc.Focus();
            //        return;
            //    }
        }

        private void txtpc_hsle_Validated(object sender, EventArgs e)
        {
            if (txtpc_hsle.Text.Trim() != "")
                try
                {
                    hsuc_le = decimal.Parse(txtpc_hsle.Text.Trim());
                    txtpc_hsle.Text = hsuc_le.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_hsle.Focus();
                    return;
                }
        }

        private void txtpc_hscn_Validated(object sender, EventArgs e)
        {
            if (txtpc_hscn.Text.Trim() != "")
                try
                {
                    hsuc_cn = decimal.Parse(txtpc_hscn.Text.Trim());
                    txtpc_hscn.Text = hsuc_cn.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_hscn.Focus();
                    return;
                }
        }

        private void txtpc_hsthuong_Validated(object sender, EventArgs e)
        {
            if (txtpc_hsthuong.Text.Trim() != "")
                try
                {
                    hsuc_thuong = decimal.Parse(txtpc_hsthuong.Text.Trim());
                    txtpc_hsthuong.Text = hsuc_thuong.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_hsthuong.Focus();
                    return;
                }
        }

        private void txtpc_ttcn_Validated(object sender, EventArgs e)
        {
            if (txtpc_ttcn.Text.Trim() != "")
                try
                {
                    thuongtruc_cn = decimal.Parse(txtpc_ttcn.Text.Trim());
                    txtpc_ttcn.Text = thuongtruc_cn.ToString("#,##0.00");
                }
                catch
                {
                    MessageBox.Show(lan.Change_language_MessageText("Nhập số !"), "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txtpc_ttcn.Focus();
                    return;
                }
        }

        private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
        {
            load_data(s_mmyy);
            uenapc_ctrl(false);
            enapc_ctrl(false);
            //btnpc_luu.Enabled = false;
            //btnpc_boqua.Enabled = false;

        }

        private void txt_pctq_nt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctq_cn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctq_lt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_thuong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_cn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_lt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_hsthuong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_hscn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctc_hslt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txtpc_luongtv_Validated(object sender, EventArgs e)
        {
            if (txtpc_luongtv.Text.Trim() == "" || txtpc_luongtv.Text.Trim() == "0")
                txtpc_luongtv.Text = "100";
        }

        private void txtpc_luongdh_Validated(object sender, EventArgs e)
        {
            if (txtpc_luongdh.Text.Trim() == "" || txtpc_luongdh.Text.Trim() == "0")
                txtpc_luongdh.Text = "100";
        }
        private void txthsom_Validated(object sender, System.EventArgs e)
        {
            if (txtpc_hsom.Text.Trim() == "" || txtpc_hsom.Text.Trim() == "0")
                txtpc_hsom.Text = "100";
        }
        private void txt_pctc_thuong_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctc_cn_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctc_lt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctc_hsthuong_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctc_hscn_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctc_hslt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctq_nt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctq_cn_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txt_pctq_lt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void txtpc_snlvthucte_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_Vantay_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_Vantay.Checked)
            {
                txt_lanccvt.Enabled = true;
                chk_sdtgsomtre.Enabled = true;
                chk_sd_ccngayt7.Enabled = true;
                dtp_gioccchieu.Enabled = false;
            }
            else
            {
                txt_lanccvt.Text = "0";
                txt_lanccvt.Enabled = false;
                chk_sdtgsomtre.Checked = false;
                chk_sd_ccngayt7.Checked = false;
                chk_sdtgsomtre.Enabled = false;
                chk_sd_ccngayt7.Enabled = false;
                chk_cctructc.Enabled = true;
                chk_cccuoituan.Enabled = true;
                chk_ccthuongquy.Enabled = true;
                dtp_gioccchieu.Enabled = true;
            }
        }

        private void chk_phepthem1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_phepthem1.Checked)
                chk_phepthem2.Checked = false;

        }

        private void chk_phepthem2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_phepthem2.Checked)
                chk_phepthem1.Checked = false;
        }
        private void chk_hsvk1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsvk1.Checked)
            {
                chk_hsvk1.Text = "Có";
                chk_hsvk2.Enabled = true;
                chk_hsvk3.Enabled = true;
            }
            else
            {
                chk_hsvk1.Text = "Không";
                chk_hsvk2.Enabled = false;
                chk_hsvk2.Checked = false;
                chk_hsvk3.Enabled = false;
                chk_hsvk3.Checked = false;
            }
        }
        private void chk_hsvk2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsvk2.Checked)
            {
                chk_hsvk2.Text = "Có";
                chk_hsvk3.Checked = false;
            }
            else
            {
                chk_hsvk2.Text = "Không";
            }
        }

        private void chk_hsvk3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsvk3.Checked)
            {
                chk_hsvk3.Text = "Có";
                chk_hsvk2.Checked = false;
            }
            else
            {
                chk_hsvk3.Text = "Không";
            }
        }

        private void chk_hscv1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hscv1.Checked)
            {
                chk_hscv1.Text = "Có";
                chk_hscv2.Enabled = true;
                chk_hscv3.Enabled = true;
            }
            else
            {
                chk_hscv1.Text = "Không";
                chk_hscv2.Enabled = false;
                chk_hscv2.Checked = false;
                chk_hscv3.Enabled = false;
                chk_hscv3.Checked = false;
            }
        }

        private void chk_hscv2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hscv2.Checked)
            {
                chk_hscv2.Text = "Có";
                chk_hscv3.Checked = false;
            }
            else
            {
                chk_hscv2.Text = "Không";
            }
        }

        private void chk_hscv3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hscv3.Checked)
            {
                chk_hscv3.Text = "Có";
                chk_hscv2.Checked = false;
            }
            else
            {
                chk_hscv3.Text = "Không";
            }
        }

        private void chk_hsdh1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdh1.Checked)
            {
                chk_hsdh1.Text = "Có";
                chk_hsdh2.Enabled = true;
                chk_hsdh3.Enabled = true;
            }
            else
            {
                chk_hsdh1.Text = "Không";
                chk_hsdh2.Enabled = false;
                chk_hsdh2.Checked = false;
                chk_hsdh3.Enabled = false;
                chk_hsdh3.Checked = false;
            }
        }

        private void chk_hsth1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsth1.Checked)
            {
                chk_hsth1.Text = "Có";
                chk_hsth2.Enabled = true;
                chk_hsth3.Enabled = true;
            }
            else
            {
                chk_hsth1.Text = "Không";
                chk_hsth2.Enabled = false;
                chk_hsth2.Checked = false;
                chk_hsth3.Enabled = false;
                chk_hsth3.Checked = false;
            }
        }

        private void chk_hstn1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hstn1.Checked)
            {
                chk_hstn1.Text = "Có";
                chk_hstn2.Enabled = true;
                chk_hstn3.Enabled = true;
            }
            else
            {
                chk_hstn1.Text = "Không";
                chk_hstn2.Enabled = false;
                chk_hstn2.Checked = false;
                chk_hstn3.Enabled = false;
                chk_hstn3.Checked = false;
            }
        }

        private void chk_hskv1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hskv1.Checked)
            {
                chk_hskv1.Text = "Có";
                chk_hskv2.Enabled = true;
                chk_hskv3.Enabled = true;
            }
            else
            {
                chk_hskv1.Text = "Không";
                chk_hskv2.Enabled = false;
                chk_hskv2.Checked = false;
                chk_hskv3.Enabled = false;
                chk_hskv3.Checked = false;
            }
        }

        private void chk_hsud1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsud1.Checked)
            {
                chk_hsud1.Text = "Có";
                chk_hsud2.Enabled = true;
                chk_hsud3.Enabled = true;
            }
            else
            {
                chk_hsud1.Text = "Không";
                chk_hsud2.Enabled = false;
                chk_hsud2.Checked = false;
                chk_hsud3.Enabled = false;
                chk_hsud3.Checked = false;
            }
        }

        private void chk_hsld1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsld1.Checked)
            {
                chk_hsld1.Text = "Có";
                chk_hsld2.Enabled = true;
                chk_hsld3.Enabled = true;
            }
            else
            {
                chk_hsld1.Text = "Không";
                chk_hsld2.Enabled = false;
                chk_hsld2.Checked = false;
                chk_hsld3.Enabled = false;
                chk_hsld3.Checked = false;
            }
        }

        private void chk_hsdb1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdb1.Checked)
            {
                chk_hsdb1.Text = "Có";
                chk_hsdb2.Enabled = true;
                chk_hsdb3.Enabled = true;
            }
            else
            {
                chk_hsdb1.Text = "Không";
                chk_hsdb2.Enabled = false;
                chk_hsdb2.Checked = false;
                chk_hsdb3.Enabled = false;
                chk_hsdb3.Checked = false;
            }
        }

        private void chk_pcta1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcta1.Checked)
            {
                chk_pcta1.Text = "Có";
                chk_pcta2.Enabled = true;
                chk_pcta3.Enabled = true;
            }
            else
            {
                chk_pcta1.Text = "Không";
                chk_pcta2.Enabled = false;
                chk_pcta2.Checked = false;
                chk_pcta3.Enabled = false;
                chk_pcta3.Checked = false;
            }
        }
        private void chk_pctdt1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctdt1.Checked)
            {
                chk_pctdt1.Text = "Có";
                chk_pctdt2.Enabled = true;
                chk_pctdt3.Enabled = true;
            }
            else
            {
                chk_pctdt1.Text = "Không";
                chk_pctdt2.Enabled = false;
                chk_pctdt2.Checked = false;
                chk_pctdt3.Enabled = false;
                chk_pctdt3.Checked = false;
            }
        }
        private void chk_pctx1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctx1.Checked)
            {
                chk_pctx1.Text = "Có";
                chk_pctx2.Enabled = true;
                chk_pctx3.Enabled = true;
            }
            else
            {
                chk_pctx1.Text = "Không";
                chk_pctx2.Enabled = false;
                chk_pctx2.Checked = false;
                chk_pctx3.Enabled = false;
                chk_pctx3.Checked = false;
            }
        }       

        private void chk_pckh1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pckh1.Checked)
            {
                chk_pckh1.Text = "Có";
                chk_pckh2.Enabled = true;
                chk_pckh3.Enabled = true;
            }
            else
            {
                chk_pckh1.Text = "không";
                chk_pckh2.Enabled = false;
                chk_pckh2.Checked = false;
                chk_pckh3.Enabled = false;
                chk_pckh3.Checked = false;
            }
        }

        private void chk_hsdh2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdh2.Checked)
            {
                chk_hsdh2.Text = "Có";
                chk_hsdh3.Checked = false;
            }
            else
            {
                chk_hsdh2.Text = "Không";
            }
        }

        private void chk_hsdh3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdh3.Checked)
            {
                chk_hsdh3.Text = "Có";
                chk_hsdh2.Checked = false;
            }
            else
            {
                chk_hsdh3.Text = "Không";
            }
        }

        private void chk_hsth2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsth2.Checked)
            {
                chk_hsth2.Text = "Có";
                chk_hsth3.Checked = false;
            }
            else
            {
                chk_hsth2.Text = "Không";
            }
        }

        private void chk_hsth3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsth3.Checked)
            {
                chk_hsth3.Text = "Có";
                chk_hsth2.Checked = false;
            }
            else
            {
                chk_hsth3.Text = "Không";
            }
        }

        private void chk_hstn2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hstn2.Checked)
            {
                chk_hstn2.Text = "Có";
                chk_hstn3.Checked = false;
            }
            else
            {
                chk_hstn2.Text = "Không";
            }
        }

        private void chk_hstn3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hstn3.Checked)
            {
                chk_hstn3.Text = "Có";
                chk_hstn2.Checked = false;
            }
            else
            {
                chk_hstn3.Text = "Không";
            }
        }

        private void chk_hskv2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hskv2.Checked)
            {
                chk_hskv2.Text = "Có";
                chk_hskv3.Checked = false;
            }
            else
            {
                chk_hskv2.Text = "Không";
            }
        }

        private void chk_hskv3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hskv3.Checked)
            {
                chk_hskv3.Text = "Có";
                chk_hskv2.Checked = false;
            }
            else
            {
                chk_hskv3.Text = "Không";
            }
        }

        private void chk_hsud2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsud2.Checked)
            {
                chk_hsud2.Text = "Có";
                chk_hsud3.Checked = false;
            }
            else
            {
                chk_hsud2.Text = "Không";
            }
        }

        private void chk_hsud3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsud3.Checked)
            {
                chk_hsud3.Text = "Có";
                chk_hsud2.Checked = false;
            }
            else
            {
                chk_hsud3.Text = "Không";
            }
        }

        private void chk_hsld2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsld2.Checked)
            {
                chk_hsld2.Text = "Có";
                chk_hsld3.Checked = false;
            }
            else
            {
                chk_hsld2.Text = "Không";
            }
        }

        private void chk_hsld3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsld3.Checked)
            {
                chk_hsld3.Text = "Có";
                chk_hsld2.Checked = false;
            }
            else
            {
                chk_hsld3.Text = "Không";
            }
        }

        private void chk_hsdb2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdb2.Checked)
            {
                chk_hsdb2.Text = "Có";
                chk_hsdb3.Checked = false;
            }
            else
            {
                chk_hsdb2.Text = "Không";
            }
        }

        private void chk_hsdb3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_hsdb3.Checked)
            {
                chk_hsdb3.Text = "Có";
                chk_hsdb2.Checked = false;
            }
            else
            {
                chk_hsdb3.Text = "Không";
            }
        }
        private void chk_pcdt1_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcdt1.Checked)
            {
                chk_pcdt1.Text = "Có";
                chk_pcdt2.Enabled = true;
                chk_pcdt3.Enabled = true;
            }
            else
            {
                chk_pcdt1.Text = "Không";
                chk_pcdt2.Enabled = false;
                chk_pcdt2.Checked = false;
                chk_pcdt3.Enabled = false;
                chk_pcdt3.Checked = false;
            }
        }

        private void chk_pcdt2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcdt2.Checked)
            {
                chk_pcdt2.Text = "Có";
                chk_pcdt3.Checked = false;
            }
            else
            {
                chk_pcdt2.Text = "Không";
            }
        }

        private void chk_pcdt3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcdt3.Checked)
            {
                chk_pcdt3.Text = "Có";
                chk_pcdt2.Checked = false;
            }
            else
            {
                chk_pcdt3.Text = "Không";
            }
        }
        private void chk_pcta2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcta2.Checked)
            {
                chk_pcta2.Text = "Có";
                chk_pcta3.Checked = false;
                txt_pctienan.Enabled = true;
                txt_tacatruc.Enabled = true;
            }
            else
            {
                chk_pcta2.Text = "Không";
                txt_pctienan.Enabled = false;
                txt_tacatruc.Enabled =false;
            }
        }

        private void chk_pcta3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pcta3.Checked)
            {
                chk_pcta3.Text = "Có";
                chk_pcta2.Checked = false;
            }
            else
            {
                chk_pcta3.Text = "Không";
            }
        }
        private void chk_pctdt2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctdt2.Checked)
            {
                chk_pctdt2.Text = "Có";
                chk_pctdt3.Checked = false;
            }
            else
            {
                chk_pctdt2.Text = "Không";
            }
        }

        private void chk_pctdt3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctdt3.Checked)
            {
                chk_pctdt3.Text = "Có";
                chk_pctdt2.Checked = false;
            }
            else
            {
                chk_pctdt3.Text = "Không";
            }
        }
        private void chk_pctx2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctx2.Checked)
            {
                chk_pctx2.Text = "Có";
                chk_pctx3.Checked = false;
            }
            else
            {
                chk_pctx2.Text = "Không";
            }
        }

        private void chk_pctx3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pctx3.Checked)
            {
                chk_pctx3.Text = "Có";
                chk_pctx2.Checked = false;
            }
            else
            {
                chk_pctx3.Text = "Không";
            }
        }

        private void chk_pckh2_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pckh2.Checked)
            {
                chk_pckh2.Text = "Có";
                chk_pckh3.Checked = false;
            }
            else
            {
                chk_pckh2.Text = "Không";
            }
        }

        private void chk_pckh3_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_pckh3.Checked)
            {
                chk_pckh3.Text = "Có";
                chk_pckh2.Checked = false;
            }
            else
            {
                chk_pckh3.Text = "Không";
            }
        }

        private void cbo_matt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}{f4}");
        }

        private void cbo_maqu_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}{f4}");
        }

        private void txt_soyte_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void cbo_benhvien_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_xephang_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_diachi_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_noimtk_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_sodkt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_sohieutkvn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_msthue_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_website_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_dienthoai_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_fax_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_giamdoc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_giamdoccty_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_tptochuc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_kttruong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_mltt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_ATM_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_dgkqcc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_nhapmacc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_ngachdn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_phepthem1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_phepthem2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_Vantay_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_lanccvt_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_cccuoituan_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_cctructc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_ccthuongquy_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void dtp_gioccchieu_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_luonghd_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_abc_sdst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_stpc_abc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_stpc_abc_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && !(e.KeyChar == '\b' || e.KeyChar == '.' || e.KeyChar == ','))
                e.KeyChar = '\0';
        }

        private void chk_ccngaycn_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pcta1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }      
        private void chk_khoadl_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_thcctudong_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_sdtgsomtre_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_sd_ccngayt7_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_cctc_taikhoatc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txt_tnthcc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_dnthcc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        
        private void chk_hsvk1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsvk2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_hsvk3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_hscv1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hscv2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hscv3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdh1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdh2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdh3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsth1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsth2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsth3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hstn1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hstn2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hstn3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hskv1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hskv2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hskv3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsud1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsud2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsud3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsld1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdb1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsld2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsld3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdb2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_hsdb3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_pcdt1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pcdt2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pcdt3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        
        private void chk_pcta2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pcta3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_pctienan_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txt_tacatruc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_pctdt1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pctdt2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pctdt3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        
        private void chk_pctx1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pctx2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pctx3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pckh1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pckh2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_pckh3_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_hdbantg_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_luongsp_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void txt_mltt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_thangtaodlp_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_thangtaodlp_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_lanccvt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }
        private void txt_tnthcc_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_dnthcc_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }
        private void txt_fax_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_dienthoai_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_msthue_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_sodkt_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_pctienan_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }
        private void txt_tacatruc_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }
        private void chk_abchs_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void chk_abcst_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }
        private void chk_abc_sdst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_abc_sdst.Checked)
            {
                txt_stpc_abc.Enabled = true;
                lbl_stabc.Enabled = true;
                chk_abcst.Checked = false;
                chk_abcst.Enabled = false;

                chk_abchs.Checked = false;
                chk_abchs.Enabled = false;
            }
            else
            {
                txt_stpc_abc.Enabled = false;
                txt_stpc_abc.Text="0";
                lbl_stabc.Enabled = false;
                chk_abcst.Enabled = true;

                chk_abchs.Enabled = true;
            }
        }
        private void chk_abchs_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_abchs.Checked)
            {
                txtpc_hsa.Enabled = true;
                txtpc_hsb.Enabled = true;
                txtpc_hsc.Enabled = true;
                chk_abcst.Checked = false;
                lbl_abchs.Enabled = true;
                lbl_abchs2.Enabled = true;
                lbl_abchs3.Enabled = true;
            }
            else
            {
                txtpc_hsa.Enabled = false;
                txtpc_hsb.Enabled = false;
                txtpc_hsc.Enabled = false;
                txtpc_hsa.Text = "";
                txtpc_hsb.Text = "";
                txtpc_hsc.Text = "";

                lbl_abchs.Enabled = false;
                lbl_abchs2.Enabled = false;
                lbl_abchs3.Enabled = false;
            }
        }

        private void chk_abcst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_abcst.Checked)
            {
                txtpc_sta.Enabled = true;
                txtpc_stb.Enabled = true;
                txtpc_stc.Enabled = true;
                chk_abchs.Checked = false;
            }
            else
            {
                txtpc_sta.Enabled = false;
                txtpc_stb.Enabled = false;
                txtpc_stc.Enabled = false;
                txtpc_sta.Text = "";
                txtpc_stb.Text = "";
                txtpc_stc.Text = "";
            }
        }
        private void chk_nghs_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_nghs.Checked)
            {
                chk_ngst.Checked = false;
                chk_ngst.Enabled = false;
                lbl_ngnt.Visible = true;
                lbl_ngcn.Visible = true;
                lbl_nglt.Visible = true;
                lbl_ngdt.Visible = true;
                lbl_ngdcn.Visible = true;
                lbl_ngdlt.Visible = true;
            }
            else
            {
                chk_ngst.Checked = true;
                chk_ngst.Enabled = true;
                lbl_ngnt.Visible = false;
                lbl_ngcn.Visible = false;
                lbl_nglt.Visible = false;
                lbl_ngdt.Visible = false;
                lbl_ngdcn.Visible = false;
                lbl_ngdlt.Visible = false;
            }
        }
        private void chk_ngst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_ngst.Checked)
            {
                chk_nghs.Checked = false;
                chk_nghs.Enabled = false;
                lbl_ngnt.Visible = false;
                lbl_ngcn.Visible = false;
                lbl_nglt.Visible = false;
                lbl_ngdt.Visible = false;
                lbl_ngdcn.Visible = false;
                lbl_ngdlt.Visible = false;
            }
            else
            {
                chk_nghs.Checked = true;
                chk_nghs.Enabled = true;
                lbl_ngnt.Visible = true;
                lbl_ngcn.Visible = true;
                lbl_nglt.Visible = true;
                lbl_ngdt.Visible = true;
                lbl_ngdcn.Visible = true;
                lbl_ngdlt.Visible = true;
            }
        }
        private void chk_tchs_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_tchs.Checked)
            {
                chk_tcst.Checked = false;
                chk_tcst.Enabled = false;
            }
            else
            {
                chk_tcst.Checked = true;
                chk_tcst.Enabled = true;
            }
        }

        private void chk_tcst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_tcst.Checked)
            {
                chk_tchs.Checked = false;
                chk_tchs.Enabled = false;
            }
            else
            {
                chk_tchs.Checked = true;
                chk_tchs.Enabled = true;
            }
        }

        private void chk_tths_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_tths.Checked)
            {
                chk_ttst.Checked = false;
                chk_ttst.Enabled = false;
            }
            else
            {
                chk_ttst.Checked = true;
                chk_ttst.Enabled = true;
            }
        }

        private void chk_ttst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_ttst.Checked)
            {
                chk_tths.Checked = false;
                chk_tths.Enabled = false;
            }
            else
            {
                chk_tths.Checked = true;
                chk_tths.Enabled = true;
            }
        }        

        private void chk_tqhs_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_tqhs.Checked)
            {
                chk_tqst.Checked = false;
                chk_tqst.Enabled = false;
            }
            else
            {
                chk_tqst.Checked = true;
                chk_tqst.Enabled = true;
            }
        }

        private void chk_tqst_CheckedChanged(object sender, EventArgs e)
        {
            if (chk_tqst.Checked)
            {
                chk_tqhs.Checked = false;
                chk_tqhs.Enabled = false;
            }
            else
            {
                chk_tqhs.Checked = true;
                chk_tqhs.Enabled = true;
            }
        }
        private void txt_tnthcc_Validated(object sender, EventArgs e)
        {
            if (txt_tnthcc.Text.Trim() != "")
            {
                if (Int32.Parse(txt_tnthcc.Text.Trim()) > 1)
                {
                    int tmp = Int32.Parse(txt_tnthcc.Text.Trim()) - 1;
                    txt_dnthcc.Text = tmp.ToString();
                }
                if (Int32.Parse(txt_tnthcc.Text.Trim()) == 1)
                {
                    txt_dnthcc.Text = mDB.get_ngaytrongthang(thang, nam);
                }
            }
        }

        private void txt_dnthcc_Validated(object sender, EventArgs e)
        {
            if (txt_tnthcc.Text.Trim() != "")
            {
                if (Int32.Parse(txt_tnthcc.Text.Trim()) > 1)
                {
                    if (Int32.Parse(txt_dnthcc.Text.Trim()) >= Int32.Parse(txt_tnthcc.Text.Trim()))
                        MessageBox.Show(lan.Change_language_MessageText("Nên chọn đến ngày bé hơn từ ngày"), AccessData.Msg, MessageBoxButtons.OK);
                }
            }
        }
        private void cbo_matt_Validated(object sender, EventArgs e)
        {
            //if (cbo_benhvien.SelectedIndex == -1)
            //{
            //    MessageBox.Show(lan.Change_language_MessageText("Chọn bệnh viện"));
            //    cbo_benhvien.Focus();
            //}
        }               
        private void txtpt_ptvchinh_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_ptvchinh.Text != "")
            {
                n = txtpt_ptvchinh.Text != "" ? decimal.Parse(txtpt_ptvchinh.Text) : 0;
                if (n > 0)
                {
                    txtpt_ptvchinh.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_ptvchinh.Text = "0";
            }  
        }
        private void txtpt_phu1_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_phu1.Text != "")
            {
                n = txtpt_phu1.Text != "" ? decimal.Parse(txtpt_phu1.Text) : 0;
                if (n > 0)
                {
                    txtpt_phu1.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_phu1.Text = "0";
            }
        }
        private void txtpt_phu2_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_phu2.Text != "")
            {
                n = txtpt_phu2.Text != "" ? decimal.Parse(txtpt_phu2.Text) : 0;
                if (n > 0)
                {
                    txtpt_phu2.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_phu2.Text = "0";
            }
        }
        private void txtpt_dungcu_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_dungcu.Text != "")
            {
                n = txtpt_dungcu.Text != "" ? decimal.Parse(txtpt_dungcu.Text) : 0;
                if (n > 0)
                {
                    txtpt_dungcu.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_dungcu.Text = "0";
            }
        }
        private void txtpt_bsgm_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_bsgm.Text != "")
            {
                n = txtpt_bsgm.Text != "" ? decimal.Parse(txtpt_bsgm.Text) : 0;
                if (n > 0)
                {
                    txtpt_bsgm.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_bsgm.Text = "0";
            }
        }

        private void txtpt_ktvgm_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_ktvgm.Text != "")
            {
                n = txtpt_ktvgm.Text != "" ? decimal.Parse(txtpt_ktvgm.Text) : 0;
                if (n > 0)
                {
                    txtpt_ktvgm.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_ktvgm.Text = "0";
            }
        }
        private void txtpt_giupviec_Validated(object sender, EventArgs e)
        {
            decimal n = 0;
            if (txtpt_giupviec.Text != "")
            {
                n = txtpt_giupviec.Text != "" ? decimal.Parse(txtpt_giupviec.Text) : 0;
                if (n > 0)
                {
                    txtpt_giupviec.Text = n.ToString("###,###");
                }
            }
            else
            {
                txtpt_giupviec.Text = "0";
            }
        }
        private void txtpt_ptvchinh_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_phu1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_phu2_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_dungcu_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_bsgm_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_ktvgm_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txtpt_giupviec_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                btnpt_luu.Focus();
        }
        #endregion        
        
    }
}